summaryrefslogtreecommitdiffstats
path: root/catalog-model/src/test/java/org/openecomp/sdc/be/model/InterfaceDefinitionTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-model/src/test/java/org/openecomp/sdc/be/model/InterfaceDefinitionTest.java')
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/InterfaceDefinitionTest.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/InterfaceDefinitionTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/InterfaceDefinitionTest.java
index 3f5b218097..5a8e155056 100644
--- a/catalog-model/src/test/java/org/openecomp/sdc/be/model/InterfaceDefinitionTest.java
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/InterfaceDefinitionTest.java
@@ -1,8 +1,10 @@
package org.openecomp.sdc.be.model;
+import java.util.HashMap;
import java.util.Map;
import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.InterfaceDataDefinition;
public class InterfaceDefinitionTest {
@@ -12,6 +14,12 @@ public class InterfaceDefinitionTest {
}
@Test
+ public void testCtor() throws Exception {
+ new InterfaceDefinition(new InterfaceDataDefinition());
+ new InterfaceDefinition("mock", "mock", new HashMap<>());
+ }
+
+ @Test
public void testIsDefinition() throws Exception {
InterfaceDefinition testSubject;
boolean result;