Merge "Fix issues in resubmit"
[sdc.git] / catalog-model / src / test / java / org / openecomp / sdc / be / model / ComponentInstancePropertyTest.java
1 package org.openecomp.sdc.be.model;
2
3 import java.util.List;
4
5 import javax.annotation.Generated;
6
7 import org.junit.Test;
8 import org.openecomp.sdc.be.datatypes.elements.PropertyRule;
9
10
11 public class ComponentInstancePropertyTest {
12
13         private ComponentInstanceProperty createTestSubject() {
14                 return new ComponentInstanceProperty();
15         }
16
17         
18         @Test
19         public void testGetComponentInstanceName() throws Exception {
20                 ComponentInstanceProperty testSubject;
21                 String result;
22
23                 // default test
24                 testSubject = createTestSubject();
25                 result = testSubject.getComponentInstanceName();
26         }
27
28         
29         @Test
30         public void testSetComponentInstanceName() throws Exception {
31                 ComponentInstanceProperty testSubject;
32                 String componentInstanceName = "";
33
34                 // default test
35                 testSubject = createTestSubject();
36                 testSubject.setComponentInstanceName(componentInstanceName);
37         }
38
39         
40         @Test
41         public void testGetComponentInstanceId() throws Exception {
42                 ComponentInstanceProperty testSubject;
43                 String result;
44
45                 // default test
46                 testSubject = createTestSubject();
47                 result = testSubject.getComponentInstanceId();
48         }
49
50         
51         @Test
52         public void testSetComponentInstanceId() throws Exception {
53                 ComponentInstanceProperty testSubject;
54                 String componentInstanceId = "";
55
56                 // default test
57                 testSubject = createTestSubject();
58                 testSubject.setComponentInstanceId(componentInstanceId);
59         }
60
61         
62         @Test
63         public void testGetValueUniqueUid() throws Exception {
64                 ComponentInstanceProperty testSubject;
65                 String result;
66
67                 // default test
68                 testSubject = createTestSubject();
69                 result = testSubject.getValueUniqueUid();
70         }
71
72         
73         @Test
74         public void testSetValueUniqueUid() throws Exception {
75                 ComponentInstanceProperty testSubject;
76                 String valueUniqueUid = "";
77
78                 // default test
79                 testSubject = createTestSubject();
80                 testSubject.setValueUniqueUid(valueUniqueUid);
81         }
82
83         
84         @Test
85         public void testGetPath() throws Exception {
86                 ComponentInstanceProperty testSubject;
87                 List<String> result;
88
89                 // default test
90                 testSubject = createTestSubject();
91                 result = testSubject.getPath();
92         }
93
94         
95         @Test
96         public void testSetPath() throws Exception {
97                 ComponentInstanceProperty testSubject;
98                 List<String> path = null;
99
100                 // default test
101                 testSubject = createTestSubject();
102                 testSubject.setPath(path);
103         }
104
105         
106         @Test
107         public void testGetRules() throws Exception {
108                 ComponentInstanceProperty testSubject;
109                 List<PropertyRule> result;
110
111                 // default test
112                 testSubject = createTestSubject();
113                 result = testSubject.getRules();
114         }
115
116         
117         @Test
118         public void testSetRules() throws Exception {
119                 ComponentInstanceProperty testSubject;
120                 List<PropertyRule> rules = null;
121
122                 // default test
123                 testSubject = createTestSubject();
124                 testSubject.setRules(rules);
125         }
126
127         
128         @Test
129         public void testToString() throws Exception {
130                 ComponentInstanceProperty testSubject;
131                 String result;
132
133                 // default test
134                 testSubject = createTestSubject();
135                 result = testSubject.toString();
136         }
137 }