1 package net.pterodactylus.sone.data.impl
3 import net.pterodactylus.sone.data.Image
7 * Unit test for [ImageImpl].
11 private val image = ImageImpl()
13 @Test(expected = Image.Modifier.ImageTitleMustNotBeEmpty::class)
14 fun `modifier does not allow title to be empty`() {
15 image.modify().setTitle("").update()