diff options
Diffstat (limited to 'common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactTypeEnumTest.java')
-rw-r--r-- | common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactTypeEnumTest.java | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactTypeEnumTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactTypeEnumTest.java new file mode 100644 index 0000000000..525080e535 --- /dev/null +++ b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactTypeEnumTest.java @@ -0,0 +1,54 @@ +package org.openecomp.sdc.common.api; + +import java.util.List; + +import org.junit.Test; + + +public class ArtifactTypeEnumTest { + + private ArtifactTypeEnum createTestSubject() { + return ArtifactTypeEnum.AAI_SERVICE_MODEL; + } + + + @Test + public void testGetType() throws Exception { + ArtifactTypeEnum testSubject; + String result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getType(); + } + + + @Test + public void testSetType() throws Exception { + ArtifactTypeEnum testSubject; + String type = ""; + + // default test + testSubject = createTestSubject(); + testSubject.setType(type); + } + + + @Test + public void testFindType() throws Exception { + String type = ""; + ArtifactTypeEnum result; + + // default test + result = ArtifactTypeEnum.findType(type); + } + + + @Test + public void testGetAllTypes() throws Exception { + List<String> result; + + // default test + result = ArtifactTypeEnum.getAllTypes(); + } +}
\ No newline at end of file |