aboutsummaryrefslogtreecommitdiffstats
path: root/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/CapabilityTest.java
diff options
context:
space:
mode:
authorOfir Sonsino <os0695@att.com>2018-01-31 17:19:00 +0200
committerOfir Sonsino <os0695@att.com>2018-01-31 17:19:00 +0200
commit1cfb08779ea0e00be69e072a940b3063e049fe6b (patch)
tree6602a900387c8393ed0dcd81c0539381632903c6 /vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/CapabilityTest.java
parent2f20b001b9243e0f8b44aecc768ec265fd538732 (diff)
org.onap migration
Change-Id: I52f0b2851f2c765752b6d21f49b32136d7d72a3d Issue-ID: VID-86 Signed-off-by: Ofir Sonsino <os0695@att.com>
Diffstat (limited to 'vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/CapabilityTest.java')
-rw-r--r--vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/CapabilityTest.java124
1 files changed, 124 insertions, 0 deletions
diff --git a/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/CapabilityTest.java b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/CapabilityTest.java
new file mode 100644
index 00000000..7609e36d
--- /dev/null
+++ b/vid-app-common/src/test/java/org/onap/vid/asdc/beans/tosca/CapabilityTest.java
@@ -0,0 +1,124 @@
+package org.onap.vid.asdc.beans.tosca;
+
+import java.util.Collection;
+import java.util.Map;
+
+import org.junit.Test;
+
+
+public class CapabilityTest {
+
+ private Capability createTestSubject() {
+ return new Capability();
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ Capability testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ Capability testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testGetOccurrences() throws Exception {
+ Capability testSubject;
+ Collection<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOccurrences();
+ }
+
+
+ @Test
+ public void testGetProperties() throws Exception {
+ Capability testSubject;
+ Map<String, Property> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProperties();
+ }
+
+
+ @Test
+ public void testGetValid_source_types() throws Exception {
+ Capability testSubject;
+ Collection<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValid_source_types();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ Capability testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ Capability testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+ @Test
+ public void testSetOccurrences() throws Exception {
+ Capability testSubject;
+ Collection<String> occurrences = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOccurrences(occurrences);
+ }
+
+
+ @Test
+ public void testSetProperties() throws Exception {
+ Capability testSubject;
+ Map<String, Property> properties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProperties(properties);
+ }
+
+
+ @Test
+ public void testSetValid_source_types() throws Exception {
+ Capability testSubject;
+ Collection<String> valid_source_types = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValid_source_types(valid_source_types);
+ }
+} \ No newline at end of file