summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/java/org/openecomp/sdc/be/components/merge/instance/RelationMergeInfoTest.java
blob: 7173af3d4c78a196c3ae34e2eaaa4073b00d397c (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
package org.openecomp.sdc.be.components.merge.instance;

import org.junit.Test;
import org.openecomp.sdc.be.model.RequirementCapabilityRelDef;

public class RelationMergeInfoTest {

	private RelationMergeInfo createTestSubject() {
		return new RelationMergeInfo("", "", "", new RequirementCapabilityRelDef());
	}

	@Test
	public void testGetCapReqType() throws Exception {
		RelationMergeInfo testSubject;
		String result;

		// default test
		testSubject = createTestSubject();
		result = testSubject.getCapReqType();
	}

	@Test
	public void testSetCapReqType() throws Exception {
		RelationMergeInfo testSubject;
		String type = "";

		// default test
		testSubject = createTestSubject();
		testSubject.setCapReqType(type);
	}

	@Test
	public void testGetVfcInstanceName() throws Exception {
		RelationMergeInfo testSubject;
		String result;

		// default test
		testSubject = createTestSubject();
		result = testSubject.getVfcInstanceName();
	}

	@Test
	public void testSetVfcInstanceName() throws Exception {
		RelationMergeInfo testSubject;
		String vfcInstanceName = "";

		// default test
		testSubject = createTestSubject();
		testSubject.setVfcInstanceName(vfcInstanceName);
	}

	@Test
	public void testGetRelDef() throws Exception {
		RelationMergeInfo testSubject;
		RequirementCapabilityRelDef result;

		// default test
		testSubject = createTestSubject();
		result = testSubject.getRelDef();
	}

	@Test
	public void testSetRelDef() throws Exception {
		RelationMergeInfo testSubject;
		RequirementCapabilityRelDef relDef = null;

		// default test
		testSubject = createTestSubject();
		testSubject.setRelDef(relDef);
	}

	@Test
	public void testGetCapReqName() throws Exception {
		RelationMergeInfo testSubject;
		String result;

		// default test
		testSubject = createTestSubject();
		result = testSubject.getCapReqName();
	}

	@Test
	public void testSetCapReqName() throws Exception {
		RelationMergeInfo testSubject;
		String capReqName = "";

		// default test
		testSubject = createTestSubject();
		testSubject.setCapReqName(capReqName);
	}
}