1 package net.pterodactylus.sone.data
3 import net.pterodactylus.sone.test.*
4 import org.hamcrest.MatcherAssert.*
5 import org.hamcrest.Matchers.*
9 * Unit test for [Profile].
13 private val sone = mock<Sone>()
14 private val profile = Profile(sone)
17 fun `new fields are initialized with an empty string`() {
18 val newField = profile.addField("testField")
19 assertThat(newField.value, equalTo(""))