blob: e39e5819d3f6cdc364ffc2f1e7c5d31a6e29dc97 (
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
|
package org.openecomp.sdc.be.info;
import org.junit.Test;
import org.openecomp.sdc.be.model.ComponentInstance;
import org.openecomp.sdc.be.model.RequirementCapabilityRelDef;
public class CreateAndAssotiateInfoTest {
private CreateAndAssotiateInfo createTestSubject() {
return new CreateAndAssotiateInfo(new ComponentInstance(), new RequirementCapabilityRelDef());
}
@Test
public void testGetNode() throws Exception {
CreateAndAssotiateInfo testSubject;
ComponentInstance result;
// default test
testSubject = createTestSubject();
result = testSubject.getNode();
}
@Test
public void testSetNode() throws Exception {
CreateAndAssotiateInfo testSubject;
ComponentInstance node = null;
// default test
testSubject = createTestSubject();
testSubject.setNode(node);
}
@Test
public void testGetAssociate() throws Exception {
CreateAndAssotiateInfo testSubject;
RequirementCapabilityRelDef result;
// default test
testSubject = createTestSubject();
result = testSubject.getAssociate();
}
@Test
public void testSetAssociate() throws Exception {
CreateAndAssotiateInfo testSubject;
RequirementCapabilityRelDef associate = null;
// default test
testSubject = createTestSubject();
testSubject.setAssociate(associate);
}
}
|