aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/java/org/openecomp/sdc/be/components/merge/instance/RelationMergeInfoTest.java
blob: 27aec7191ad7f39fad32728aa77e6b3aa6f3f024 (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
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 testGetRelDef() throws Exception {
		RelationMergeInfo testSubject;
		RequirementCapabilityRelDef result;

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



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

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

}