aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-model/src/test/java/org/openecomp/sdc/be/model/ServiceTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-model/src/test/java/org/openecomp/sdc/be/model/ServiceTest.java')
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/ServiceTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ServiceTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ServiceTest.java
index 3d0c8a1d28..7dafe7d1dc 100644
--- a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ServiceTest.java
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ServiceTest.java
@@ -12,6 +12,11 @@ public class ServiceTest {
}
@Test
+ public void testCtor() throws Exception {
+ new Service(new ComponentMetadataDefinition());
+ }
+
+ @Test
public void testGetServiceApiArtifacts() throws Exception {
Service testSubject;
Map<String, ArtifactDefinition> result;
@@ -109,6 +114,7 @@ public class ServiceTest {
testSubject = createTestSubject();
distributionStatus = null;
testSubject.setDistributionStatus(distributionStatus);
+ testSubject.setDistributionStatus(DistributionStatusEnum.DISTRIBUTED);
}