@Test public void testGetIsPreferred() { assertEquals(DesignationRole.ALTERNATIVE, designation.getDesignationRole()); }
@Test public void testGetValueDataType() { assertEquals("string", designation.getFormat().getContent()); }
@Test public void testGetPropertyName() { assertEquals("property name", designation.getDesignationType().getContent()); }
@Test public void testGetUsageContext() { assertEquals("test usage context 1", designation.getUsageContext(0).getContent()); assertEquals("test usage context 2", designation.getUsageContext(1).getContent()); assertEquals("test usage context 3", designation.getUsageContext(2).getContent()); }
@Test public void testGetLanguange() { assertEquals("en", designation.getLanguage().getContent()); }
@Test public void testGetValue() { assertEquals("testValue", designation.getValue()); }
@Test public void testGetPropertyId() { assertEquals("testPropertyID", designation.getExternalIdentifier()); }
@Test public void testGetDegreeOfFidelity() { assertEquals("testFed", designation.getDegreeOfFidelity().getContent()); }