diff options
Diffstat (limited to 'catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropertyTest.java')
-rw-r--r-- | catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropertyTest.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropertyTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropertyTest.java index b888e95d64..a734722f2a 100644 --- a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropertyTest.java +++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropertyTest.java @@ -3,6 +3,7 @@ package org.openecomp.sdc.be.model; import java.util.List; import org.junit.Test; +import org.openecomp.sdc.be.datatypes.elements.PropertyDataDefinition; import org.openecomp.sdc.be.datatypes.elements.PropertyRule; @@ -12,6 +13,13 @@ public class ComponentInstancePropertyTest { return new ComponentInstanceProperty(); } + @Test + public void testCtor() throws Exception { + new ComponentInstanceProperty(new PropertyDataDefinition()); + new ComponentInstanceProperty(new PropertyDefinition()); + new ComponentInstanceProperty(false, new PropertyDefinition(), "mock"); + new ComponentInstanceProperty(new PropertyDefinition(), "mock", "mock"); + } @Test public void testGetComponentInstanceName() throws Exception { |