diff options
Diffstat (limited to 'common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapListRequirementDataDefinitionTest.java')
-rw-r--r-- | common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapListRequirementDataDefinitionTest.java | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapListRequirementDataDefinitionTest.java b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapListRequirementDataDefinitionTest.java new file mode 100644 index 0000000000..8c352b5337 --- /dev/null +++ b/common-be/src/test/java/org/openecomp/sdc/be/datatypes/elements/MapListRequirementDataDefinitionTest.java @@ -0,0 +1,42 @@ +package org.openecomp.sdc.be.datatypes.elements; + +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import javax.annotation.Generated; + +import org.junit.Test; + + +public class MapListRequirementDataDefinitionTest { + + private MapListRequirementDataDefinition createTestSubject() { + Map map = new HashMap<>(); + return new MapListRequirementDataDefinition(map); + } + + + @Test + public void testGetMapToscaDataDefinition() throws Exception { + MapListRequirementDataDefinition testSubject; + Map<String, ListRequirementDataDefinition> result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getMapToscaDataDefinition(); + } + + + @Test + public void testAdd() throws Exception { + MapListRequirementDataDefinition testSubject; + String key = ""; + RequirementDataDefinition value = null; + + // default test + testSubject = createTestSubject(); + testSubject.add(key, value); + } +}
\ No newline at end of file |