diff options
Diffstat (limited to 'common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/AuditingFieldsKeyTest.java')
-rw-r--r-- | common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/AuditingFieldsKeyTest.java | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/AuditingFieldsKeyTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/AuditingFieldsKeyTest.java new file mode 100644 index 0000000000..18bbdb7e71 --- /dev/null +++ b/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/AuditingFieldsKeyTest.java @@ -0,0 +1,44 @@ +package org.openecomp.sdc.common.datastructure; + +import org.junit.Test; + + +public class AuditingFieldsKeyTest { + + private AuditingFieldsKey createTestSubject() { + return AuditingFieldsKey.AUDIT_ACTION; + } + + + @Test + public void testGetValueClass() throws Exception { + AuditingFieldsKey testSubject; + Class<?> result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getValueClass(); + } + + + @Test + public void testGetDisplayName() throws Exception { + AuditingFieldsKey testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getDisplayName(); + } + + + @Test + public void testSetDisplayName() throws Exception { + AuditingFieldsKey testSubject; + String displayName = ""; + + // default test + testSubject = createTestSubject(); + testSubject.setDisplayName(displayName); + } +}
\ No newline at end of file |