Upgrade sonar plugin
[vid.git] / vid-app-common / src / test / java / org / openecomp / vid / asdc / beans / tosca / CapabilityTest.java
1 package org.openecomp.vid.asdc.beans.tosca;
2
3 import java.util.Collection;
4 import java.util.Map;
5
6 import org.junit.Test;
7
8
9 public class CapabilityTest {
10
11         private Capability createTestSubject() {
12                 return new Capability();
13         }
14
15         
16         @Test
17         public void testGetType() throws Exception {
18                 Capability testSubject;
19                 String result;
20
21                 // default test
22                 testSubject = createTestSubject();
23                 result = testSubject.getType();
24         }
25
26         
27         @Test
28         public void testGetDescription() throws Exception {
29                 Capability testSubject;
30                 String result;
31
32                 // default test
33                 testSubject = createTestSubject();
34                 result = testSubject.getDescription();
35         }
36
37         
38         @Test
39         public void testGetOccurrences() throws Exception {
40                 Capability testSubject;
41                 Collection<String> result;
42
43                 // default test
44                 testSubject = createTestSubject();
45                 result = testSubject.getOccurrences();
46         }
47
48         
49         @Test
50         public void testGetProperties() throws Exception {
51                 Capability testSubject;
52                 Map<String, Property> result;
53
54                 // default test
55                 testSubject = createTestSubject();
56                 result = testSubject.getProperties();
57         }
58
59         
60         @Test
61         public void testGetValid_source_types() throws Exception {
62                 Capability testSubject;
63                 Collection<String> result;
64
65                 // default test
66                 testSubject = createTestSubject();
67                 result = testSubject.getValid_source_types();
68         }
69
70         
71         @Test
72         public void testSetType() throws Exception {
73                 Capability testSubject;
74                 String type = "";
75
76                 // default test
77                 testSubject = createTestSubject();
78                 testSubject.setType(type);
79         }
80
81         
82         @Test
83         public void testSetDescription() throws Exception {
84                 Capability testSubject;
85                 String description = "";
86
87                 // default test
88                 testSubject = createTestSubject();
89                 testSubject.setDescription(description);
90         }
91
92         
93         @Test
94         public void testSetOccurrences() throws Exception {
95                 Capability testSubject;
96                 Collection<String> occurrences = null;
97
98                 // default test
99                 testSubject = createTestSubject();
100                 testSubject.setOccurrences(occurrences);
101         }
102
103         
104         @Test
105         public void testSetProperties() throws Exception {
106                 Capability testSubject;
107                 Map<String, Property> properties = null;
108
109                 // default test
110                 testSubject = createTestSubject();
111                 testSubject.setProperties(properties);
112         }
113
114         
115         @Test
116         public void testSetValid_source_types() throws Exception {
117                 Capability testSubject;
118                 Collection<String> valid_source_types = null;
119
120                 // default test
121                 testSubject = createTestSubject();
122                 testSubject.setValid_source_types(valid_source_types);
123         }
124 }