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