re base code
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / components / distribution / engine / NotificationDataImplTest.java
1 package org.openecomp.sdc.be.components.distribution.engine;
2
3 import org.junit.Test;
4
5 import java.util.List;
6
7 public class NotificationDataImplTest {
8
9         private NotificationDataImpl createTestSubject() {
10                 return new NotificationDataImpl();
11         }
12
13         @Test
14         public void testGetDistributionID() throws Exception {
15                 NotificationDataImpl testSubject;
16                 String result;
17
18                 // default test
19                 testSubject = createTestSubject();
20                 result = testSubject.getDistributionID();
21         }
22
23         @Test
24         public void testGetServiceName() throws Exception {
25                 NotificationDataImpl testSubject;
26                 String result;
27
28                 // default test
29                 testSubject = createTestSubject();
30                 result = testSubject.getServiceName();
31         }
32
33         @Test
34         public void testGetServiceVersion() throws Exception {
35                 NotificationDataImpl testSubject;
36                 String result;
37
38                 // default test
39                 testSubject = createTestSubject();
40                 result = testSubject.getServiceVersion();
41         }
42
43         @Test
44         public void testGetServiceUUID() throws Exception {
45                 NotificationDataImpl testSubject;
46                 String result;
47
48                 // default test
49                 testSubject = createTestSubject();
50                 result = testSubject.getServiceUUID();
51         }
52
53         @Test
54         public void testSetDistributionID() throws Exception {
55                 NotificationDataImpl testSubject;
56                 String distributionID = "";
57
58                 // default test
59                 testSubject = createTestSubject();
60                 testSubject.setDistributionID(distributionID);
61         }
62
63         @Test
64         public void testSetServiceName() throws Exception {
65                 NotificationDataImpl testSubject;
66                 String serviceName = "";
67
68                 // default test
69                 testSubject = createTestSubject();
70                 testSubject.setServiceName(serviceName);
71         }
72
73         @Test
74         public void testSetServiceVersion() throws Exception {
75                 NotificationDataImpl testSubject;
76                 String serviceVersion = "";
77
78                 // default test
79                 testSubject = createTestSubject();
80                 testSubject.setServiceVersion(serviceVersion);
81         }
82
83         @Test
84         public void testSetServiceUUID() throws Exception {
85                 NotificationDataImpl testSubject;
86                 String serviceUUID = "";
87
88                 // default test
89                 testSubject = createTestSubject();
90                 testSubject.setServiceUUID(serviceUUID);
91         }
92
93         @Test
94         public void testGetServiceDescription() throws Exception {
95                 NotificationDataImpl testSubject;
96                 String result;
97
98                 // default test
99                 testSubject = createTestSubject();
100                 result = testSubject.getServiceDescription();
101         }
102
103         @Test
104         public void testSetServiceDescription() throws Exception {
105                 NotificationDataImpl testSubject;
106                 String serviceDescription = "";
107
108                 // default test
109                 testSubject = createTestSubject();
110                 testSubject.setServiceDescription(serviceDescription);
111         }
112
113         @Test
114         public void testGetWorkloadContext() throws Exception {
115                 NotificationDataImpl testSubject;
116                 String result;
117
118                 // default test
119                 testSubject = createTestSubject();
120                 result = testSubject.getWorkloadContext();
121         }
122
123         @Test
124         public void testSetWorkloadContext() throws Exception {
125                 NotificationDataImpl testSubject;
126                 String workloadContext = "";
127
128                 // default test
129                 testSubject = createTestSubject();
130                 testSubject.setWorkloadContext(workloadContext);
131         }
132
133         @Test
134         public void testToString() throws Exception {
135                 NotificationDataImpl testSubject;
136                 String result;
137
138                 // default test
139                 testSubject = createTestSubject();
140                 result = testSubject.toString();
141         }
142
143         @Test
144         public void testGetResources() throws Exception {
145                 NotificationDataImpl testSubject;
146                 List<JsonContainerResourceInstance> result;
147
148                 // default test
149                 testSubject = createTestSubject();
150                 result = testSubject.getResources();
151         }
152
153         @Test
154         public void testSetResources() throws Exception {
155                 NotificationDataImpl testSubject;
156                 List<JsonContainerResourceInstance> resources = null;
157
158                 // default test
159                 testSubject = createTestSubject();
160                 testSubject.setResources(resources);
161         }
162
163         @Test
164         public void testGetServiceArtifacts() throws Exception {
165                 NotificationDataImpl testSubject;
166                 List<ArtifactInfoImpl> result;
167
168                 // default test
169                 testSubject = createTestSubject();
170                 result = testSubject.getServiceArtifacts();
171         }
172
173         @Test
174         public void testSetServiceArtifacts() throws Exception {
175                 NotificationDataImpl testSubject;
176                 List<ArtifactInfoImpl> serviceArtifacts = null;
177
178                 // default test
179                 testSubject = createTestSubject();
180                 testSubject.setServiceArtifacts(serviceArtifacts);
181         }
182
183         @Test
184         public void testGetServiceInvariantUUID() throws Exception {
185                 NotificationDataImpl testSubject;
186                 String result;
187
188                 // default test
189                 testSubject = createTestSubject();
190                 result = testSubject.getServiceInvariantUUID();
191         }
192
193         @Test
194         public void testSetServiceInvariantUUID() throws Exception {
195                 NotificationDataImpl testSubject;
196                 String serviceInvariantUUID = "";
197
198                 // default test
199                 testSubject = createTestSubject();
200                 testSubject.setServiceInvariantUUID(serviceInvariantUUID);
201         }
202 }