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