Merge "Port mirroring"
[sdc.git] / common-be / src / test / java / org / openecomp / sdc / be / datatypes / elements / RequirementDataDefinitionTest.java
1 package org.openecomp.sdc.be.datatypes.elements;
2
3 import java.util.List;
4
5 import javax.annotation.Generated;
6
7 import org.junit.Assert;
8 import org.junit.Test;
9
10
11 public class RequirementDataDefinitionTest {
12
13         private RequirementDataDefinition createTestSubject() {
14                 return new RequirementDataDefinition();
15         }
16
17         
18         @Test
19         public void testGetUniqueId() throws Exception {
20                 RequirementDataDefinition testSubject;
21                 String result;
22
23                 // default test
24                 testSubject = createTestSubject();
25                 result = testSubject.getUniqueId();
26         }
27
28         
29         @Test
30         public void testSetUniqueId() throws Exception {
31                 RequirementDataDefinition testSubject;
32                 String uniqueId = "";
33
34                 // default test
35                 testSubject = createTestSubject();
36                 testSubject.setUniqueId(uniqueId);
37         }
38
39         
40         @Test
41         public void testGetName() throws Exception {
42                 RequirementDataDefinition testSubject;
43                 String result;
44
45                 // default test
46                 testSubject = createTestSubject();
47                 result = testSubject.getName();
48         }
49
50         
51         @Test
52         public void testSetName() throws Exception {
53                 RequirementDataDefinition testSubject;
54                 String name = "";
55
56                 // default test
57                 testSubject = createTestSubject();
58                 testSubject.setName(name);
59         }
60
61         
62         @Test
63         public void testGetParentName() throws Exception {
64                 RequirementDataDefinition testSubject;
65                 String result;
66
67                 // default test
68                 testSubject = createTestSubject();
69                 result = testSubject.getParentName();
70         }
71
72         
73         @Test
74         public void testSetParentName() throws Exception {
75                 RequirementDataDefinition testSubject;
76                 String parentName = "";
77
78                 // default test
79                 testSubject = createTestSubject();
80                 testSubject.setParentName(parentName);
81         }
82
83         
84         @Test
85         public void testGetCapability() throws Exception {
86                 RequirementDataDefinition testSubject;
87                 String result;
88
89                 // default test
90                 testSubject = createTestSubject();
91                 result = testSubject.getCapability();
92         }
93
94         
95         @Test
96         public void testSetCapability() throws Exception {
97                 RequirementDataDefinition testSubject;
98                 String capability = "";
99
100                 // default test
101                 testSubject = createTestSubject();
102                 testSubject.setCapability(capability);
103         }
104
105         
106         @Test
107         public void testGetNode() throws Exception {
108                 RequirementDataDefinition testSubject;
109                 String result;
110
111                 // default test
112                 testSubject = createTestSubject();
113                 result = testSubject.getNode();
114         }
115
116         
117         @Test
118         public void testSetNode() throws Exception {
119                 RequirementDataDefinition testSubject;
120                 String node = "";
121
122                 // default test
123                 testSubject = createTestSubject();
124                 testSubject.setNode(node);
125         }
126
127         
128         @Test
129         public void testGetRelationship() throws Exception {
130                 RequirementDataDefinition testSubject;
131                 String result;
132
133                 // default test
134                 testSubject = createTestSubject();
135                 result = testSubject.getRelationship();
136         }
137
138         
139         @Test
140         public void testSetRelationship() throws Exception {
141                 RequirementDataDefinition testSubject;
142                 String relationship = "";
143
144                 // default test
145                 testSubject = createTestSubject();
146                 testSubject.setRelationship(relationship);
147         }
148
149         
150         @Test
151         public void testGetOwnerId() throws Exception {
152                 RequirementDataDefinition testSubject;
153                 String result;
154
155                 // default test
156                 testSubject = createTestSubject();
157                 result = testSubject.getOwnerId();
158         }
159
160         
161         @Test
162         public void testSetOwnerId() throws Exception {
163                 RequirementDataDefinition testSubject;
164                 String ownerId = "";
165
166                 // default test
167                 testSubject = createTestSubject();
168                 testSubject.setOwnerId(ownerId);
169         }
170
171         
172         @Test
173         public void testGetOwnerName() throws Exception {
174                 RequirementDataDefinition testSubject;
175                 String result;
176
177                 // default test
178                 testSubject = createTestSubject();
179                 result = testSubject.getOwnerName();
180         }
181
182         
183         @Test
184         public void testSetOwnerName() throws Exception {
185                 RequirementDataDefinition testSubject;
186                 String ownerName = "";
187
188                 // default test
189                 testSubject = createTestSubject();
190                 testSubject.setOwnerName(ownerName);
191         }
192
193         
194         @Test
195         public void testGetMinOccurrences() throws Exception {
196                 RequirementDataDefinition testSubject;
197                 String result;
198
199                 // default test
200                 testSubject = createTestSubject();
201                 result = testSubject.getMinOccurrences();
202         }
203
204         
205         @Test
206         public void testSetMinOccurrences() throws Exception {
207                 RequirementDataDefinition testSubject;
208                 String minOccurrences = "";
209
210                 // default test
211                 testSubject = createTestSubject();
212                 testSubject.setMinOccurrences(minOccurrences);
213         }
214
215         
216         @Test
217         public void testGetLeftOccurrences() throws Exception {
218                 RequirementDataDefinition testSubject;
219                 String result;
220
221                 // default test
222                 testSubject = createTestSubject();
223                 result = testSubject.getLeftOccurrences();
224         }
225
226         
227         @Test
228         public void testSetLeftOccurrences() throws Exception {
229                 RequirementDataDefinition testSubject;
230                 String leftOccurrences = "";
231
232                 // default test
233                 testSubject = createTestSubject();
234                 testSubject.setLeftOccurrences(leftOccurrences);
235         }
236
237         
238         @Test
239         public void testGetMaxOccurrences() throws Exception {
240                 RequirementDataDefinition testSubject;
241                 String result;
242
243                 // default test
244                 testSubject = createTestSubject();
245                 result = testSubject.getMaxOccurrences();
246         }
247
248         
249         @Test
250         public void testSetMaxOccurrences() throws Exception {
251                 RequirementDataDefinition testSubject;
252                 String maxOccurrences = "";
253
254                 // default test
255                 testSubject = createTestSubject();
256                 testSubject.setMaxOccurrences(maxOccurrences);
257         }
258
259         
260         @Test
261         public void testSetPath() throws Exception {
262                 RequirementDataDefinition testSubject;
263                 List<String> path = null;
264
265                 // default test
266                 testSubject = createTestSubject();
267                 testSubject.setPath(path);
268         }
269
270         
271         @Test
272         public void testGetPath() throws Exception {
273                 RequirementDataDefinition testSubject;
274                 List<String> result;
275
276                 // default test
277                 testSubject = createTestSubject();
278                 result = testSubject.getPath();
279         }
280
281         
282         @Test
283         public void testSetSource() throws Exception {
284                 RequirementDataDefinition testSubject;
285                 String source = "";
286
287                 // default test
288                 testSubject = createTestSubject();
289                 testSubject.setSource(source);
290         }
291
292         
293         @Test
294         public void testGetSource() throws Exception {
295                 RequirementDataDefinition testSubject;
296                 String result;
297
298                 // default test
299                 testSubject = createTestSubject();
300                 result = testSubject.getSource();
301         }
302
303         
304         @Test
305         public void testAddToPath() throws Exception {
306                 RequirementDataDefinition testSubject;
307                 String elementInPath = "";
308
309                 // default test
310                 testSubject = createTestSubject();
311                 testSubject.addToPath(elementInPath);
312         }
313
314         
315         @Test
316         public void testHashCode() throws Exception {
317                 RequirementDataDefinition testSubject;
318                 int result;
319
320                 // default test
321                 testSubject = createTestSubject();
322                 result = testSubject.hashCode();
323         }
324
325         
326         @Test
327         public void testEquals() throws Exception {
328                 RequirementDataDefinition testSubject;
329                 Object obj = null;
330                 boolean result;
331
332                 // test 1
333                 testSubject = createTestSubject();
334                 obj = null;
335                 result = testSubject.equals(obj);
336                 Assert.assertEquals(false, result);
337         }
338
339         
340         @Test
341         public void testToString() throws Exception {
342                 RequirementDataDefinition testSubject;
343                 String result;
344
345                 // default test
346                 testSubject = createTestSubject();
347                 result = testSubject.toString();
348         }
349 }