re base code
[sdc.git] / catalog-dao / src / test / java / org / openecomp / sdc / be / resources / data / auditing / DistributionDeployEventTest.java
1 package org.openecomp.sdc.be.resources.data.auditing;
2
3 import org.junit.Test;
4 import org.openecomp.sdc.be.resources.data.auditing.model.CommonAuditData;
5 import org.openecomp.sdc.be.resources.data.auditing.model.ResourceCommonInfo;
6
7 import java.util.Date;
8 import java.util.UUID;
9
10
11 public class DistributionDeployEventTest {
12
13         private DistributionDeployEvent createTestSubject() {
14                 return new DistributionDeployEvent();
15         }
16
17         @Test
18         public void testCtor() throws Exception {
19                 new DistributionDeployEvent();
20                 new DistributionDeployEvent("mock", CommonAuditData.newBuilder().build(),new ResourceCommonInfo(), "mock", "mock", "mock");
21         }
22         
23         @Test
24         public void testFillFields() throws Exception {
25                 DistributionDeployEvent testSubject;
26
27                 // default test
28                 testSubject = createTestSubject();
29                 testSubject.fillFields();
30         }
31
32         
33         @Test
34         public void testGetResourceName() throws Exception {
35                 DistributionDeployEvent testSubject;
36                 String result;
37
38                 // default test
39                 testSubject = createTestSubject();
40                 result = testSubject.getResourceName();
41         }
42
43         
44         @Test
45         public void testSetResourceName() throws Exception {
46                 DistributionDeployEvent testSubject;
47                 String resourceName = "";
48
49                 // default test
50                 testSubject = createTestSubject();
51                 testSubject.setResourceName(resourceName);
52         }
53
54         
55         @Test
56         public void testGetResourceType() throws Exception {
57                 DistributionDeployEvent testSubject;
58                 String result;
59
60                 // default test
61                 testSubject = createTestSubject();
62                 result = testSubject.getResourceType();
63         }
64
65         
66         @Test
67         public void testSetResourceType() throws Exception {
68                 DistributionDeployEvent testSubject;
69                 String resourceType = "";
70
71                 // default test
72                 testSubject = createTestSubject();
73                 testSubject.setResourceType(resourceType);
74         }
75
76         
77         @Test
78         public void testGetCurrVersion() throws Exception {
79                 DistributionDeployEvent testSubject;
80                 String result;
81
82                 // default test
83                 testSubject = createTestSubject();
84                 result = testSubject.getCurrVersion();
85         }
86
87         
88         @Test
89         public void testSetCurrVersion() throws Exception {
90                 DistributionDeployEvent testSubject;
91                 String currVersion = "";
92
93                 // default test
94                 testSubject = createTestSubject();
95                 testSubject.setCurrVersion(currVersion);
96         }
97
98         
99         @Test
100         public void testGetTimebaseduuid() throws Exception {
101                 DistributionDeployEvent testSubject;
102                 UUID result;
103
104                 // default test
105                 testSubject = createTestSubject();
106                 result = testSubject.getTimebaseduuid();
107         }
108
109         
110         @Test
111         public void testSetTimebaseduuid() throws Exception {
112                 DistributionDeployEvent testSubject;
113                 UUID timebaseduuid = null;
114
115                 // default test
116                 testSubject = createTestSubject();
117                 testSubject.setTimebaseduuid(timebaseduuid);
118         }
119
120         
121         @Test
122         public void testGetTimestamp1() throws Exception {
123                 DistributionDeployEvent testSubject;
124                 Date result;
125
126                 // default test
127                 testSubject = createTestSubject();
128                 result = testSubject.getTimestamp1();
129         }
130
131         
132         @Test
133         public void testSetTimestamp1() throws Exception {
134                 DistributionDeployEvent testSubject;
135                 Date timestamp1 = null;
136
137                 // default test
138                 testSubject = createTestSubject();
139                 testSubject.setTimestamp1(timestamp1);
140         }
141
142         
143         @Test
144         public void testGetRequestId() throws Exception {
145                 DistributionDeployEvent testSubject;
146                 String result;
147
148                 // default test
149                 testSubject = createTestSubject();
150                 result = testSubject.getRequestId();
151         }
152
153         
154         @Test
155         public void testSetRequestId() throws Exception {
156                 DistributionDeployEvent testSubject;
157                 String requestId = "";
158
159                 // default test
160                 testSubject = createTestSubject();
161                 testSubject.setRequestId(requestId);
162         }
163
164         
165         @Test
166         public void testGetServiceInstanceId() throws Exception {
167                 DistributionDeployEvent testSubject;
168                 String result;
169
170                 // default test
171                 testSubject = createTestSubject();
172                 result = testSubject.getServiceInstanceId();
173         }
174
175         
176         @Test
177         public void testSetServiceInstanceId() throws Exception {
178                 DistributionDeployEvent testSubject;
179                 String serviceInstanceId = "";
180
181                 // default test
182                 testSubject = createTestSubject();
183                 testSubject.setServiceInstanceId(serviceInstanceId);
184         }
185
186         
187         @Test
188         public void testGetAction() throws Exception {
189                 DistributionDeployEvent testSubject;
190                 String result;
191
192                 // default test
193                 testSubject = createTestSubject();
194                 result = testSubject.getAction();
195         }
196
197         
198         @Test
199         public void testSetAction() throws Exception {
200                 DistributionDeployEvent testSubject;
201                 String action = "";
202
203                 // default test
204                 testSubject = createTestSubject();
205                 testSubject.setAction(action);
206         }
207
208         
209         @Test
210         public void testGetStatus() throws Exception {
211                 DistributionDeployEvent testSubject;
212                 String result;
213
214                 // default test
215                 testSubject = createTestSubject();
216                 result = testSubject.getStatus();
217         }
218
219         
220         @Test
221         public void testSetStatus() throws Exception {
222                 DistributionDeployEvent testSubject;
223                 String status = "";
224
225                 // default test
226                 testSubject = createTestSubject();
227                 testSubject.setStatus(status);
228         }
229
230         
231         @Test
232         public void testGetDesc() throws Exception {
233                 DistributionDeployEvent testSubject;
234                 String result;
235
236                 // default test
237                 testSubject = createTestSubject();
238                 result = testSubject.getDesc();
239         }
240
241         
242         @Test
243         public void testSetDesc() throws Exception {
244                 DistributionDeployEvent testSubject;
245                 String desc = "";
246
247                 // default test
248                 testSubject = createTestSubject();
249                 testSubject.setDesc(desc);
250         }
251
252         
253         @Test
254         public void testGetModifier() throws Exception {
255                 DistributionDeployEvent testSubject;
256                 String result;
257
258                 // default test
259                 testSubject = createTestSubject();
260                 result = testSubject.getModifier();
261         }
262
263         
264         @Test
265         public void testSetModifier() throws Exception {
266                 DistributionDeployEvent testSubject;
267                 String modifier = "";
268
269                 // default test
270                 testSubject = createTestSubject();
271                 testSubject.setModifier(modifier);
272         }
273
274         @Test
275         public void testGetDid() throws Exception {
276                 DistributionDeployEvent testSubject;
277                 String result;
278
279                 // default test
280                 testSubject = createTestSubject();
281                 result = testSubject.getDid();
282         }
283
284         
285         @Test
286         public void testSetDid() throws Exception {
287                 DistributionDeployEvent testSubject;
288                 String did = "";
289
290                 // default test
291                 testSubject = createTestSubject();
292                 testSubject.setDid(did);
293         }
294
295         
296         @Test
297         public void testToString() throws Exception {
298                 DistributionDeployEvent testSubject;
299                 String result;
300
301                 // default test
302                 testSubject = createTestSubject();
303                 result = testSubject.toString();
304         }
305 }