bf005c6d06dd17764ff18e1ad5c87a421d2bac4e
[sdc.git] /
1 package org.openecomp.sdc.be.resources.data.auditing;
2
3 import java.util.Date;
4 import java.util.UUID;
5
6 import org.junit.Test;
7
8
9 public class DistributionDownloadEventTest {
10
11         private DistributionDownloadEvent createTestSubject() {
12                 return new DistributionDownloadEvent();
13         }
14
15         
16         @Test
17         public void testFillFields() throws Exception {
18                 DistributionDownloadEvent testSubject;
19
20                 // default test
21                 testSubject = createTestSubject();
22                 testSubject.fillFields();
23         }
24
25         
26         @Test
27         public void testGetConsumerId() throws Exception {
28                 DistributionDownloadEvent testSubject;
29                 String result;
30
31                 // default test
32                 testSubject = createTestSubject();
33                 result = testSubject.getConsumerId();
34         }
35
36         
37         @Test
38         public void testSetConsumerId() throws Exception {
39                 DistributionDownloadEvent testSubject;
40                 String consumerId = "";
41
42                 // default test
43                 testSubject = createTestSubject();
44                 testSubject.setConsumerId(consumerId);
45         }
46
47         
48         @Test
49         public void testGetResourceUrl() throws Exception {
50                 DistributionDownloadEvent testSubject;
51                 String result;
52
53                 // default test
54                 testSubject = createTestSubject();
55                 result = testSubject.getResourceUrl();
56         }
57
58         
59         @Test
60         public void testSetResourceUrl() throws Exception {
61                 DistributionDownloadEvent testSubject;
62                 String resourceUrl = "";
63
64                 // default test
65                 testSubject = createTestSubject();
66                 testSubject.setResourceUrl(resourceUrl);
67         }
68
69         
70         @Test
71         public void testGetTimebaseduuid() throws Exception {
72                 DistributionDownloadEvent testSubject;
73                 UUID result;
74
75                 // default test
76                 testSubject = createTestSubject();
77                 result = testSubject.getTimebaseduuid();
78         }
79
80         
81         @Test
82         public void testSetTimebaseduuid() throws Exception {
83                 DistributionDownloadEvent testSubject;
84                 UUID timebaseduuid = null;
85
86                 // default test
87                 testSubject = createTestSubject();
88                 testSubject.setTimebaseduuid(timebaseduuid);
89         }
90
91         
92         @Test
93         public void testGetTimestamp1() throws Exception {
94                 DistributionDownloadEvent testSubject;
95                 Date result;
96
97                 // default test
98                 testSubject = createTestSubject();
99                 result = testSubject.getTimestamp1();
100         }
101
102         
103         @Test
104         public void testSetTimestamp1() throws Exception {
105                 DistributionDownloadEvent testSubject;
106                 Date timestamp1 = null;
107
108                 // default test
109                 testSubject = createTestSubject();
110                 testSubject.setTimestamp1(timestamp1);
111         }
112
113         
114         @Test
115         public void testGetRequestId() throws Exception {
116                 DistributionDownloadEvent testSubject;
117                 String result;
118
119                 // default test
120                 testSubject = createTestSubject();
121                 result = testSubject.getRequestId();
122         }
123
124         
125         @Test
126         public void testSetRequestId() throws Exception {
127                 DistributionDownloadEvent testSubject;
128                 String requestId = "";
129
130                 // default test
131                 testSubject = createTestSubject();
132                 testSubject.setRequestId(requestId);
133         }
134
135         
136         @Test
137         public void testGetServiceInstanceId() throws Exception {
138                 DistributionDownloadEvent testSubject;
139                 String result;
140
141                 // default test
142                 testSubject = createTestSubject();
143                 result = testSubject.getServiceInstanceId();
144         }
145
146         
147         @Test
148         public void testSetServiceInstanceId() throws Exception {
149                 DistributionDownloadEvent testSubject;
150                 String serviceInstanceId = "";
151
152                 // default test
153                 testSubject = createTestSubject();
154                 testSubject.setServiceInstanceId(serviceInstanceId);
155         }
156
157         
158         @Test
159         public void testGetAction() throws Exception {
160                 DistributionDownloadEvent testSubject;
161                 String result;
162
163                 // default test
164                 testSubject = createTestSubject();
165                 result = testSubject.getAction();
166         }
167
168         
169         @Test
170         public void testSetAction() throws Exception {
171                 DistributionDownloadEvent testSubject;
172                 String action = "";
173
174                 // default test
175                 testSubject = createTestSubject();
176                 testSubject.setAction(action);
177         }
178
179         
180         @Test
181         public void testGetStatus() throws Exception {
182                 DistributionDownloadEvent testSubject;
183                 String result;
184
185                 // default test
186                 testSubject = createTestSubject();
187                 result = testSubject.getStatus();
188         }
189
190         
191         @Test
192         public void testSetStatus() throws Exception {
193                 DistributionDownloadEvent testSubject;
194                 String status = "";
195
196                 // default test
197                 testSubject = createTestSubject();
198                 testSubject.setStatus(status);
199         }
200
201         
202         @Test
203         public void testGetDesc() throws Exception {
204                 DistributionDownloadEvent testSubject;
205                 String result;
206
207                 // default test
208                 testSubject = createTestSubject();
209                 result = testSubject.getDesc();
210         }
211
212         
213         @Test
214         public void testSetDesc() throws Exception {
215                 DistributionDownloadEvent testSubject;
216                 String desc = "";
217
218                 // default test
219                 testSubject = createTestSubject();
220                 testSubject.setDesc(desc);
221         }
222
223         
224         @Test
225         public void testToString() throws Exception {
226                 DistributionDownloadEvent testSubject;
227                 String result;
228
229                 // default test
230                 testSubject = createTestSubject();
231                 result = testSubject.toString();
232         }
233 }