diff options
author | 2018-05-31 16:57:17 +0300 | |
---|---|---|
committer | 2018-05-31 15:24:39 +0000 | |
commit | cdb8d264670ae4b98eb3b40cc58ee06b2c2e70c9 (patch) | |
tree | d43609c24140c13f92c6d303b76820b74f8c7634 /catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ComponentInstanceDataTest.java | |
parent | cc4088f4d26212b8dbeeff01f0ae2e38f2df4d3f (diff) |
new unit tests for sdc-dao
Change-Id: Ibf37c20c3d07f3cd2962e324f3e37354adad9870
Issue-ID: SDC-1333
Signed-off-by: Tal Gitelman <tg851x@intl.att.com>
Diffstat (limited to 'catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ComponentInstanceDataTest.java')
-rw-r--r-- | catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ComponentInstanceDataTest.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ComponentInstanceDataTest.java b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ComponentInstanceDataTest.java index 0e48444106..f3bbae7d87 100644 --- a/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ComponentInstanceDataTest.java +++ b/catalog-dao/src/test/java/org/openecomp/sdc/be/resources/data/ComponentInstanceDataTest.java @@ -1,5 +1,6 @@ package org.openecomp.sdc.be.resources.data; +import java.util.HashMap; import java.util.Map; import org.junit.Test; @@ -12,6 +13,12 @@ public class ComponentInstanceDataTest { return new ComponentInstanceData(); } + @Test + public void testCtor() throws Exception { + new ComponentInstanceData(new ComponentInstanceDataDefinition()); + new ComponentInstanceData(new ComponentInstanceDataDefinition(), new Integer(0)); + new ComponentInstanceData(new HashMap<>()); + } @Test public void testToGraphMap() throws Exception { |