1 package org.openecomp.sdc.common.api;
8 public class ArtifactTypeEnumTest {
10 private ArtifactTypeEnum createTestSubject() {
11 return ArtifactTypeEnum.AAI_SERVICE_MODEL;
16 public void testGetType() throws Exception {
17 ArtifactTypeEnum testSubject;
21 testSubject = createTestSubject();
22 result = testSubject.getType();
27 public void testSetType() throws Exception {
28 ArtifactTypeEnum testSubject;
32 testSubject = createTestSubject();
33 testSubject.setType(type);
38 public void testFindType() throws Exception {
40 ArtifactTypeEnum result;
43 result = ArtifactTypeEnum.findType(type);
48 public void testGetAllTypes() throws Exception {
52 result = ArtifactTypeEnum.getAllTypes();