aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropertyTest.java
diff options
context:
space:
mode:
authorYuli Shlosberg <ys9693@att.com>2017-10-17 16:38:07 +0300
committerYuli Shlosberg <ys9693@att.com>2017-10-22 08:30:44 +0000
commit56f02056947bd1bfd4310c86401113062cf3a74e (patch)
tree4b2afee29fc0a5aa5b88696903a6b9f68c5cf4f0 /catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropertyTest.java
parentbc077839a99429fede9cb027f58a209e72f81ba6 (diff)
add unit tests to BE components
Change-Id: Ic22f03832f1810f51958db2e7dba5569a9bf1cd7 Issue-Id: SDC-467 Signed-off-by: Yuli Shlosberg <ys9693@att.com> (cherry picked from commit 031b1e4dc965195624fb0c574376cba1b0c57488)
Diffstat (limited to 'catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropertyTest.java')
-rw-r--r--catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropertyTest.java137
1 files changed, 137 insertions, 0 deletions
diff --git a/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropertyTest.java b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropertyTest.java
new file mode 100644
index 0000000000..4718847559
--- /dev/null
+++ b/catalog-model/src/test/java/org/openecomp/sdc/be/model/ComponentInstancePropertyTest.java
@@ -0,0 +1,137 @@
+package org.openecomp.sdc.be.model;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.datatypes.elements.PropertyRule;
+
+
+public class ComponentInstancePropertyTest {
+
+ private ComponentInstanceProperty createTestSubject() {
+ return new ComponentInstanceProperty();
+ }
+
+
+ @Test
+ public void testGetComponentInstanceName() throws Exception {
+ ComponentInstanceProperty testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstanceName();
+ }
+
+
+ @Test
+ public void testSetComponentInstanceName() throws Exception {
+ ComponentInstanceProperty testSubject;
+ String componentInstanceName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstanceName(componentInstanceName);
+ }
+
+
+ @Test
+ public void testGetComponentInstanceId() throws Exception {
+ ComponentInstanceProperty testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentInstanceId();
+ }
+
+
+ @Test
+ public void testSetComponentInstanceId() throws Exception {
+ ComponentInstanceProperty testSubject;
+ String componentInstanceId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentInstanceId(componentInstanceId);
+ }
+
+
+ @Test
+ public void testGetValueUniqueUid() throws Exception {
+ ComponentInstanceProperty testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValueUniqueUid();
+ }
+
+
+ @Test
+ public void testSetValueUniqueUid() throws Exception {
+ ComponentInstanceProperty testSubject;
+ String valueUniqueUid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setValueUniqueUid(valueUniqueUid);
+ }
+
+
+ @Test
+ public void testGetPath() throws Exception {
+ ComponentInstanceProperty testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getPath();
+ }
+
+
+ @Test
+ public void testSetPath() throws Exception {
+ ComponentInstanceProperty testSubject;
+ List<String> path = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setPath(path);
+ }
+
+
+ @Test
+ public void testGetRules() throws Exception {
+ ComponentInstanceProperty testSubject;
+ List<PropertyRule> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRules();
+ }
+
+
+ @Test
+ public void testSetRules() throws Exception {
+ ComponentInstanceProperty testSubject;
+ List<PropertyRule> rules = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRules(rules);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ComponentInstanceProperty testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file