1 package net.pterodactylus.sone.data;
3 import net.pterodactylus.sone.data.Profile.Field;
5 import org.hamcrest.MatcherAssert;
6 import org.hamcrest.Matchers;
8 import org.mockito.Mockito;
11 * Unit test for {@link Profile}.
13 public class ProfileTest {
15 private final Sone sone = Mockito.mock(Sone.class);
16 private final Profile profile = new Profile(sone);
19 public void newFieldsAreInitializedWithAnEmptyString() {
20 Field newField = profile.addField("testField");
21 MatcherAssert.assertThat(newField.getValue(), Matchers.is(""));