1 package org.openecomp.sdc.be.resources.data.auditing;
6 import javax.annotation.Generated;
10 public class DistributionNotificationEventTest {
12 private DistributionNotificationEvent createTestSubject() {
13 return new DistributionNotificationEvent();
18 public void testFillFields() throws Exception {
19 DistributionNotificationEvent testSubject;
22 testSubject = createTestSubject();
23 testSubject.fillFields();
28 public void testGetResourceName() throws Exception {
29 DistributionNotificationEvent testSubject;
33 testSubject = createTestSubject();
34 result = testSubject.getResourceName();
39 public void testSetResourceName() throws Exception {
40 DistributionNotificationEvent testSubject;
41 String resourceName = "";
44 testSubject = createTestSubject();
45 testSubject.setResourceName(resourceName);
50 public void testGetResourceType() throws Exception {
51 DistributionNotificationEvent testSubject;
55 testSubject = createTestSubject();
56 result = testSubject.getResourceType();
61 public void testSetResourceType() throws Exception {
62 DistributionNotificationEvent testSubject;
63 String resourceType = "";
66 testSubject = createTestSubject();
67 testSubject.setResourceType(resourceType);
72 public void testGetCurrVersion() throws Exception {
73 DistributionNotificationEvent testSubject;
77 testSubject = createTestSubject();
78 result = testSubject.getCurrVersion();
83 public void testSetCurrVersion() throws Exception {
84 DistributionNotificationEvent testSubject;
85 String currVersion = "";
88 testSubject = createTestSubject();
89 testSubject.setCurrVersion(currVersion);
94 public void testGetCurrState() throws Exception {
95 DistributionNotificationEvent testSubject;
99 testSubject = createTestSubject();
100 result = testSubject.getCurrState();
105 public void testSetCurrState() throws Exception {
106 DistributionNotificationEvent testSubject;
107 String currState = "";
110 testSubject = createTestSubject();
111 testSubject.setCurrState(currState);
116 public void testGetTopicName() throws Exception {
117 DistributionNotificationEvent testSubject;
121 testSubject = createTestSubject();
122 result = testSubject.getTopicName();
127 public void testSetTopicName() throws Exception {
128 DistributionNotificationEvent testSubject;
129 String topicName = "";
132 testSubject = createTestSubject();
133 testSubject.setTopicName(topicName);
138 public void testGetTimebaseduuid() throws Exception {
139 DistributionNotificationEvent testSubject;
143 testSubject = createTestSubject();
144 result = testSubject.getTimebaseduuid();
149 public void testSetTimebaseduuid() throws Exception {
150 DistributionNotificationEvent testSubject;
151 UUID timebaseduuid = null;
154 testSubject = createTestSubject();
155 testSubject.setTimebaseduuid(timebaseduuid);
160 public void testGetTimestamp1() throws Exception {
161 DistributionNotificationEvent testSubject;
165 testSubject = createTestSubject();
166 result = testSubject.getTimestamp1();
171 public void testSetTimestamp1() throws Exception {
172 DistributionNotificationEvent testSubject;
173 Date timestamp1 = null;
176 testSubject = createTestSubject();
177 testSubject.setTimestamp1(timestamp1);
182 public void testGetRequestId() throws Exception {
183 DistributionNotificationEvent testSubject;
187 testSubject = createTestSubject();
188 result = testSubject.getRequestId();
193 public void testSetRequestId() throws Exception {
194 DistributionNotificationEvent testSubject;
195 String requestId = "";
198 testSubject = createTestSubject();
199 testSubject.setRequestId(requestId);
204 public void testGetServiceInstanceId() throws Exception {
205 DistributionNotificationEvent testSubject;
209 testSubject = createTestSubject();
210 result = testSubject.getServiceInstanceId();
215 public void testSetServiceInstanceId() throws Exception {
216 DistributionNotificationEvent testSubject;
217 String serviceInstanceId = "";
220 testSubject = createTestSubject();
221 testSubject.setServiceInstanceId(serviceInstanceId);
226 public void testGetAction() throws Exception {
227 DistributionNotificationEvent testSubject;
231 testSubject = createTestSubject();
232 result = testSubject.getAction();
237 public void testSetAction() throws Exception {
238 DistributionNotificationEvent testSubject;
242 testSubject = createTestSubject();
243 testSubject.setAction(action);
248 public void testGetStatus() throws Exception {
249 DistributionNotificationEvent testSubject;
253 testSubject = createTestSubject();
254 result = testSubject.getStatus();
259 public void testSetStatus() throws Exception {
260 DistributionNotificationEvent testSubject;
264 testSubject = createTestSubject();
265 testSubject.setStatus(status);
270 public void testGetDesc() throws Exception {
271 DistributionNotificationEvent testSubject;
275 testSubject = createTestSubject();
276 result = testSubject.getDesc();
281 public void testSetDesc() throws Exception {
282 DistributionNotificationEvent testSubject;
286 testSubject = createTestSubject();
287 testSubject.setDesc(desc);
292 public void testGetModifier() throws Exception {
293 DistributionNotificationEvent testSubject;
297 testSubject = createTestSubject();
298 result = testSubject.getModifier();
303 public void testSetModifier() throws Exception {
304 DistributionNotificationEvent testSubject;
305 String modifier = "";
308 testSubject = createTestSubject();
309 testSubject.setModifier(modifier);
314 public void testGetDid() throws Exception {
315 DistributionNotificationEvent testSubject;
319 testSubject = createTestSubject();
320 result = testSubject.getDid();
325 public void testSetDid() throws Exception {
326 DistributionNotificationEvent testSubject;
330 testSubject = createTestSubject();
331 testSubject.setDid(did);
336 public void testToString() throws Exception {
337 DistributionNotificationEvent testSubject;
341 testSubject = createTestSubject();
342 result = testSubject.toString();