diff options
Diffstat (limited to 'catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaRequirementTest.java')
-rw-r--r-- | catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaRequirementTest.java | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaRequirementTest.java b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaRequirementTest.java new file mode 100644 index 0000000000..639f634d7f --- /dev/null +++ b/catalog-be/src/test/java/org/openecomp/sdc/be/tosca/model/ToscaRequirementTest.java @@ -0,0 +1,49 @@ +package org.openecomp.sdc.be.tosca.model; + +import java.util.List; +import java.util.Map; + +import javax.annotation.Generated; + +import org.junit.Test; + + +public class ToscaRequirementTest { + + private ToscaRequirement createTestSubject() { + return new ToscaRequirement(); + } + + + @Test + public void testGetOccurrences() throws Exception { + ToscaRequirement testSubject; + List<Object> result; + + // default test + testSubject = createTestSubject(); + result = testSubject.getOccurrences(); + } + + + @Test + public void testSetOccurrences() throws Exception { + ToscaRequirement testSubject; + List<Object> occurrences = null; + + // default test + testSubject = createTestSubject(); + testSubject.setOccurrences(occurrences); + } + + + @Test + public void testToMap() throws Exception { + ToscaRequirement testSubject; + Map<String, Object> result; + + // default test + testSubject = createTestSubject(); + result = testSubject.toMap(); + } +}
\ No newline at end of file |