コード例 #1
0
 @Test
 public void testGetIsPreferred() {
   assertEquals(DesignationRole.ALTERNATIVE, designation.getDesignationRole());
 }
コード例 #2
0
 @Test
 public void testGetValueDataType() {
   assertEquals("string", designation.getFormat().getContent());
 }
コード例 #3
0
 @Test
 public void testGetPropertyName() {
   assertEquals("property name", designation.getDesignationType().getContent());
 }
コード例 #4
0
 @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());
 }
コード例 #5
0
 @Test
 public void testGetLanguange() {
   assertEquals("en", designation.getLanguage().getContent());
 }
コード例 #6
0
 @Test
 public void testGetValue() {
   assertEquals("testValue", designation.getValue());
 }
コード例 #7
0
 @Test
 public void testGetPropertyId() {
   assertEquals("testPropertyID", designation.getExternalIdentifier());
 }
コード例 #8
0
 @Test
 public void testGetDegreeOfFidelity() {
   assertEquals("testFed", designation.getDegreeOfFidelity().getContent());
 }