re base code
[sdc.git] / catalog-dao / src / test / java / org / openecomp / sdc / be / resources / data / CapabilityTypeDataTest.java
1 package org.openecomp.sdc.be.resources.data;
2
3 import org.apache.commons.collections.map.HashedMap;
4 import org.junit.Test;
5 import org.openecomp.sdc.be.datatypes.elements.CapabilityTypeDataDefinition;
6
7 import java.util.Map;
8
9
10 public class CapabilityTypeDataTest {
11
12         private CapabilityTypeData createTestSubject() {
13                 return new CapabilityTypeData();
14         }
15
16         @Test
17         public void testCtor() throws Exception {
18                 new CapabilityTypeData(new CapabilityTypeDataDefinition());
19                 new CapabilityTypeData(new HashedMap());
20         }
21         
22         @Test
23         public void testToGraphMap() throws Exception {
24                 CapabilityTypeData testSubject;
25                 Map<String, Object> result;
26
27                 // default test
28                 testSubject = createTestSubject();
29                 result = testSubject.toGraphMap();
30         }
31
32         
33         @Test
34         public void testGetCapabilityTypeDataDefinition() throws Exception {
35                 CapabilityTypeData testSubject;
36                 CapabilityTypeDataDefinition result;
37
38                 // default test
39                 testSubject = createTestSubject();
40                 result = testSubject.getCapabilityTypeDataDefinition();
41         }
42
43         
44         @Test
45         public void testSetCapabilityTypeDataDefinition() throws Exception {
46                 CapabilityTypeData testSubject;
47                 CapabilityTypeDataDefinition capabilityTypeDataDefinition = null;
48
49                 // default test
50                 testSubject = createTestSubject();
51                 testSubject.setCapabilityTypeDataDefinition(capabilityTypeDataDefinition);
52         }
53
54         
55         @Test
56         public void testToString() throws Exception {
57                 CapabilityTypeData testSubject;
58                 String result;
59
60                 // default test
61                 testSubject = createTestSubject();
62                 result = testSubject.toString();
63         }
64
65         
66         @Test
67         public void testGetUniqueId() throws Exception {
68                 CapabilityTypeData testSubject;
69                 String result;
70
71                 // default test
72                 testSubject = createTestSubject();
73                 result = testSubject.getUniqueId();
74         }
75 }