re base code
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / components / merge / instance / RelationMergeInfoTest.java
1 package org.openecomp.sdc.be.components.merge.instance;
2
3 import org.junit.Test;
4 import org.openecomp.sdc.be.model.RequirementCapabilityRelDef;
5
6 public class RelationMergeInfoTest {
7
8         private RelationMergeInfo createTestSubject() {
9                 return new RelationMergeInfo("", "", "", new RequirementCapabilityRelDef());
10         }
11
12         @Test
13         public void testGetCapReqType() throws Exception {
14                 RelationMergeInfo testSubject;
15                 String result;
16
17                 // default test
18                 testSubject = createTestSubject();
19                 result = testSubject.getCapReqType();
20         }
21
22
23         @Test
24         public void testGetRelDef() throws Exception {
25                 RelationMergeInfo testSubject;
26                 RequirementCapabilityRelDef result;
27
28                 // default test
29                 testSubject = createTestSubject();
30                 result = testSubject.getRelDef();
31         }
32
33
34
35         @Test
36         public void testGetCapReqName() throws Exception {
37                 RelationMergeInfo testSubject;
38                 String result;
39
40                 // default test
41                 testSubject = createTestSubject();
42                 result = testSubject.getCapReqName();
43         }
44
45 }