1 package org.openecomp.sdc.be.resources.data.auditing;
8 public class DistributionNotificationEventTest {
10 private DistributionNotificationEvent createTestSubject() {
11 return new DistributionNotificationEvent();
16 public void testFillFields() throws Exception {
17 DistributionNotificationEvent testSubject;
20 testSubject = createTestSubject();
21 testSubject.fillFields();
26 public void testGetResourceName() throws Exception {
27 DistributionNotificationEvent testSubject;
31 testSubject = createTestSubject();
32 result = testSubject.getResourceName();
37 public void testSetResourceName() throws Exception {
38 DistributionNotificationEvent testSubject;
39 String resourceName = "";
42 testSubject = createTestSubject();
43 testSubject.setResourceName(resourceName);
48 public void testGetResourceType() throws Exception {
49 DistributionNotificationEvent testSubject;
53 testSubject = createTestSubject();
54 result = testSubject.getResourceType();
59 public void testSetResourceType() throws Exception {
60 DistributionNotificationEvent testSubject;
61 String resourceType = "";
64 testSubject = createTestSubject();
65 testSubject.setResourceType(resourceType);
70 public void testGetCurrVersion() throws Exception {
71 DistributionNotificationEvent testSubject;
75 testSubject = createTestSubject();
76 result = testSubject.getCurrVersion();
81 public void testSetCurrVersion() throws Exception {
82 DistributionNotificationEvent testSubject;
83 String currVersion = "";
86 testSubject = createTestSubject();
87 testSubject.setCurrVersion(currVersion);
92 public void testGetCurrState() throws Exception {
93 DistributionNotificationEvent testSubject;
97 testSubject = createTestSubject();
98 result = testSubject.getCurrState();
103 public void testSetCurrState() throws Exception {
104 DistributionNotificationEvent testSubject;
105 String currState = "";
108 testSubject = createTestSubject();
109 testSubject.setCurrState(currState);
114 public void testGetTopicName() throws Exception {
115 DistributionNotificationEvent testSubject;
119 testSubject = createTestSubject();
120 result = testSubject.getTopicName();
125 public void testSetTopicName() throws Exception {
126 DistributionNotificationEvent testSubject;
127 String topicName = "";
130 testSubject = createTestSubject();
131 testSubject.setTopicName(topicName);
136 public void testGetTimebaseduuid() throws Exception {
137 DistributionNotificationEvent testSubject;
141 testSubject = createTestSubject();
142 result = testSubject.getTimebaseduuid();
147 public void testSetTimebaseduuid() throws Exception {
148 DistributionNotificationEvent testSubject;
149 UUID timebaseduuid = null;
152 testSubject = createTestSubject();
153 testSubject.setTimebaseduuid(timebaseduuid);
158 public void testGetTimestamp1() throws Exception {
159 DistributionNotificationEvent testSubject;
163 testSubject = createTestSubject();
164 result = testSubject.getTimestamp1();
169 public void testSetTimestamp1() throws Exception {
170 DistributionNotificationEvent testSubject;
171 Date timestamp1 = null;
174 testSubject = createTestSubject();
175 testSubject.setTimestamp1(timestamp1);
180 public void testGetRequestId() throws Exception {
181 DistributionNotificationEvent testSubject;
185 testSubject = createTestSubject();
186 result = testSubject.getRequestId();
191 public void testSetRequestId() throws Exception {
192 DistributionNotificationEvent testSubject;
193 String requestId = "";
196 testSubject = createTestSubject();
197 testSubject.setRequestId(requestId);
202 public void testGetServiceInstanceId() throws Exception {
203 DistributionNotificationEvent testSubject;
207 testSubject = createTestSubject();
208 result = testSubject.getServiceInstanceId();
213 public void testSetServiceInstanceId() throws Exception {
214 DistributionNotificationEvent testSubject;
215 String serviceInstanceId = "";
218 testSubject = createTestSubject();
219 testSubject.setServiceInstanceId(serviceInstanceId);
224 public void testGetAction() throws Exception {
225 DistributionNotificationEvent testSubject;
229 testSubject = createTestSubject();
230 result = testSubject.getAction();
235 public void testSetAction() throws Exception {
236 DistributionNotificationEvent testSubject;
240 testSubject = createTestSubject();
241 testSubject.setAction(action);
246 public void testGetStatus() throws Exception {
247 DistributionNotificationEvent testSubject;
251 testSubject = createTestSubject();
252 result = testSubject.getStatus();
257 public void testSetStatus() throws Exception {
258 DistributionNotificationEvent testSubject;
262 testSubject = createTestSubject();
263 testSubject.setStatus(status);
268 public void testGetDesc() throws Exception {
269 DistributionNotificationEvent testSubject;
273 testSubject = createTestSubject();
274 result = testSubject.getDesc();
279 public void testSetDesc() throws Exception {
280 DistributionNotificationEvent testSubject;
284 testSubject = createTestSubject();
285 testSubject.setDesc(desc);
290 public void testGetModifier() throws Exception {
291 DistributionNotificationEvent testSubject;
295 testSubject = createTestSubject();
296 result = testSubject.getModifier();
301 public void testSetModifier() throws Exception {
302 DistributionNotificationEvent testSubject;
303 String modifier = "";
306 testSubject = createTestSubject();
307 testSubject.setModifier(modifier);
312 public void testGetDid() throws Exception {
313 DistributionNotificationEvent testSubject;
317 testSubject = createTestSubject();
318 result = testSubject.getDid();
323 public void testSetDid() throws Exception {
324 DistributionNotificationEvent testSubject;
328 testSubject = createTestSubject();
329 testSubject.setDid(did);
334 public void testToString() throws Exception {
335 DistributionNotificationEvent testSubject;
339 testSubject = createTestSubject();
340 result = testSubject.toString();