blob: ab610116f162b6894231d25c772e47e92bf43121 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
|
package org.openecomp.sdc.be.model;
import java.util.LinkedList;
import java.util.List;
import org.junit.Test;
public class TargetCapabilityRelDefTest {
private TargetCapabilityRelDef createTestSubject() {
return new TargetCapabilityRelDef();
}
@Test
public void testCtor() throws Exception {
new TargetCapabilityRelDef("mock", new LinkedList<>());
}
@Test
public void testGetToNode() throws Exception {
TargetCapabilityRelDef testSubject;
String result;
// default test
testSubject = createTestSubject();
result = testSubject.getToNode();
}
@Test
public void testSetToNode() throws Exception {
TargetCapabilityRelDef testSubject;
String toNode = "";
// default test
testSubject = createTestSubject();
testSubject.setToNode(toNode);
}
@Test
public void testGetRelationships() throws Exception {
TargetCapabilityRelDef testSubject;
List<CapabilityRequirementRelationship> result;
// default test
testSubject = createTestSubject();
result = testSubject.getRelationships();
}
@Test
public void testResolveSingleRelationship() throws Exception {
TargetCapabilityRelDef testSubject;
CapabilityRequirementRelationship result;
// default test
testSubject = createTestSubject();
result = testSubject.resolveSingleRelationship();
}
@Test
public void testGetUid() throws Exception {
TargetCapabilityRelDef testSubject;
String result;
// default test
testSubject = createTestSubject();
result = testSubject.getUid();
}
@Test
public void testSetUid() throws Exception {
TargetCapabilityRelDef testSubject;
String uid = "";
// default test
testSubject = createTestSubject();
testSubject.setUid(uid);
}
@Test
public void testSetRelationships() throws Exception {
TargetCapabilityRelDef testSubject;
List<CapabilityRequirementRelationship> relationships = null;
// default test
testSubject = createTestSubject();
testSubject.setRelationships(relationships);
}
@Test
public void testToString() throws Exception {
TargetCapabilityRelDef testSubject;
String result;
// default test
testSubject = createTestSubject();
result = testSubject.toString();
}
}
|