1 package org.openecomp.sdc.be.model;
5 import javax.annotation.Generated;
8 import org.openecomp.sdc.be.datatypes.elements.PropertyRule;
11 public class ComponentInstancePropertyTest {
13 private ComponentInstanceProperty createTestSubject() {
14 return new ComponentInstanceProperty();
19 public void testGetComponentInstanceName() throws Exception {
20 ComponentInstanceProperty testSubject;
24 testSubject = createTestSubject();
25 result = testSubject.getComponentInstanceName();
30 public void testSetComponentInstanceName() throws Exception {
31 ComponentInstanceProperty testSubject;
32 String componentInstanceName = "";
35 testSubject = createTestSubject();
36 testSubject.setComponentInstanceName(componentInstanceName);
41 public void testGetComponentInstanceId() throws Exception {
42 ComponentInstanceProperty testSubject;
46 testSubject = createTestSubject();
47 result = testSubject.getComponentInstanceId();
52 public void testSetComponentInstanceId() throws Exception {
53 ComponentInstanceProperty testSubject;
54 String componentInstanceId = "";
57 testSubject = createTestSubject();
58 testSubject.setComponentInstanceId(componentInstanceId);
63 public void testGetValueUniqueUid() throws Exception {
64 ComponentInstanceProperty testSubject;
68 testSubject = createTestSubject();
69 result = testSubject.getValueUniqueUid();
74 public void testSetValueUniqueUid() throws Exception {
75 ComponentInstanceProperty testSubject;
76 String valueUniqueUid = "";
79 testSubject = createTestSubject();
80 testSubject.setValueUniqueUid(valueUniqueUid);
85 public void testGetPath() throws Exception {
86 ComponentInstanceProperty testSubject;
90 testSubject = createTestSubject();
91 result = testSubject.getPath();
96 public void testSetPath() throws Exception {
97 ComponentInstanceProperty testSubject;
98 List<String> path = null;
101 testSubject = createTestSubject();
102 testSubject.setPath(path);
107 public void testGetRules() throws Exception {
108 ComponentInstanceProperty testSubject;
109 List<PropertyRule> result;
112 testSubject = createTestSubject();
113 result = testSubject.getRules();
118 public void testSetRules() throws Exception {
119 ComponentInstanceProperty testSubject;
120 List<PropertyRule> rules = null;
123 testSubject = createTestSubject();
124 testSubject.setRules(rules);
129 public void testToString() throws Exception {
130 ComponentInstanceProperty testSubject;
134 testSubject = createTestSubject();
135 result = testSubject.toString();