Added oparent to sdc main
[sdc.git] / catalog-be / src / test / java / org / openecomp / sdc / be / components / distribution / engine / NotificationDataImplTest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.openecomp.sdc.be.components.distribution.engine;
22
23 import org.junit.Test;
24
25 import java.util.List;
26
27 public class NotificationDataImplTest {
28
29         private NotificationDataImpl createTestSubject() {
30                 return new NotificationDataImpl();
31         }
32
33         @Test
34         public void testGetDistributionID() throws Exception {
35                 NotificationDataImpl testSubject;
36                 String result;
37
38                 // default test
39                 testSubject = createTestSubject();
40                 result = testSubject.getDistributionID();
41         }
42
43         @Test
44         public void testGetServiceName() throws Exception {
45                 NotificationDataImpl testSubject;
46                 String result;
47
48                 // default test
49                 testSubject = createTestSubject();
50                 result = testSubject.getServiceName();
51         }
52
53         @Test
54         public void testGetServiceVersion() throws Exception {
55                 NotificationDataImpl testSubject;
56                 String result;
57
58                 // default test
59                 testSubject = createTestSubject();
60                 result = testSubject.getServiceVersion();
61         }
62
63         @Test
64         public void testGetServiceUUID() throws Exception {
65                 NotificationDataImpl testSubject;
66                 String result;
67
68                 // default test
69                 testSubject = createTestSubject();
70                 result = testSubject.getServiceUUID();
71         }
72
73         @Test
74         public void testSetDistributionID() throws Exception {
75                 NotificationDataImpl testSubject;
76                 String distributionID = "";
77
78                 // default test
79                 testSubject = createTestSubject();
80                 testSubject.setDistributionID(distributionID);
81         }
82
83         @Test
84         public void testSetServiceName() throws Exception {
85                 NotificationDataImpl testSubject;
86                 String serviceName = "";
87
88                 // default test
89                 testSubject = createTestSubject();
90                 testSubject.setServiceName(serviceName);
91         }
92
93         @Test
94         public void testSetServiceVersion() throws Exception {
95                 NotificationDataImpl testSubject;
96                 String serviceVersion = "";
97
98                 // default test
99                 testSubject = createTestSubject();
100                 testSubject.setServiceVersion(serviceVersion);
101         }
102
103         @Test
104         public void testSetServiceUUID() throws Exception {
105                 NotificationDataImpl testSubject;
106                 String serviceUUID = "";
107
108                 // default test
109                 testSubject = createTestSubject();
110                 testSubject.setServiceUUID(serviceUUID);
111         }
112
113         @Test
114         public void testGetServiceDescription() throws Exception {
115                 NotificationDataImpl testSubject;
116                 String result;
117
118                 // default test
119                 testSubject = createTestSubject();
120                 result = testSubject.getServiceDescription();
121         }
122
123         @Test
124         public void testSetServiceDescription() throws Exception {
125                 NotificationDataImpl testSubject;
126                 String serviceDescription = "";
127
128                 // default test
129                 testSubject = createTestSubject();
130                 testSubject.setServiceDescription(serviceDescription);
131         }
132
133         @Test
134         public void testGetWorkloadContext() throws Exception {
135                 NotificationDataImpl testSubject;
136                 String result;
137
138                 // default test
139                 testSubject = createTestSubject();
140                 result = testSubject.getWorkloadContext();
141         }
142
143         @Test
144         public void testSetWorkloadContext() throws Exception {
145                 NotificationDataImpl testSubject;
146                 String workloadContext = "";
147
148                 // default test
149                 testSubject = createTestSubject();
150                 testSubject.setWorkloadContext(workloadContext);
151         }
152
153         @Test
154         public void testToString() throws Exception {
155                 NotificationDataImpl testSubject;
156                 String result;
157
158                 // default test
159                 testSubject = createTestSubject();
160                 result = testSubject.toString();
161         }
162
163         @Test
164         public void testGetResources() throws Exception {
165                 NotificationDataImpl testSubject;
166                 List<JsonContainerResourceInstance> result;
167
168                 // default test
169                 testSubject = createTestSubject();
170                 result = testSubject.getResources();
171         }
172
173         @Test
174         public void testSetResources() throws Exception {
175                 NotificationDataImpl testSubject;
176                 List<JsonContainerResourceInstance> resources = null;
177
178                 // default test
179                 testSubject = createTestSubject();
180                 testSubject.setResources(resources);
181         }
182
183         @Test
184         public void testGetServiceArtifacts() throws Exception {
185                 NotificationDataImpl testSubject;
186                 List<ArtifactInfoImpl> result;
187
188                 // default test
189                 testSubject = createTestSubject();
190                 result = testSubject.getServiceArtifacts();
191         }
192
193         @Test
194         public void testSetServiceArtifacts() throws Exception {
195                 NotificationDataImpl testSubject;
196                 List<ArtifactInfoImpl> serviceArtifacts = null;
197
198                 // default test
199                 testSubject = createTestSubject();
200                 testSubject.setServiceArtifacts(serviceArtifacts);
201         }
202
203         @Test
204         public void testGetServiceInvariantUUID() throws Exception {
205                 NotificationDataImpl testSubject;
206                 String result;
207
208                 // default test
209                 testSubject = createTestSubject();
210                 result = testSubject.getServiceInvariantUUID();
211         }
212
213         @Test
214         public void testSetServiceInvariantUUID() throws Exception {
215                 NotificationDataImpl testSubject;
216                 String serviceInvariantUUID = "";
217
218                 // default test
219                 testSubject = createTestSubject();
220                 testSubject.setServiceInvariantUUID(serviceInvariantUUID);
221         }
222 }