1 package org.openecomp.sdc.be.resources.data.auditing;
9 public class DistributionDeployEventTest {
11 private DistributionDeployEvent createTestSubject() {
12 return new DistributionDeployEvent();
17 public void testFillFields() throws Exception {
18 DistributionDeployEvent testSubject;
21 testSubject = createTestSubject();
22 testSubject.fillFields();
27 public void testGetResourceName() throws Exception {
28 DistributionDeployEvent testSubject;
32 testSubject = createTestSubject();
33 result = testSubject.getResourceName();
38 public void testSetResourceName() throws Exception {
39 DistributionDeployEvent testSubject;
40 String resourceName = "";
43 testSubject = createTestSubject();
44 testSubject.setResourceName(resourceName);
49 public void testGetResourceType() throws Exception {
50 DistributionDeployEvent testSubject;
54 testSubject = createTestSubject();
55 result = testSubject.getResourceType();
60 public void testSetResourceType() throws Exception {
61 DistributionDeployEvent testSubject;
62 String resourceType = "";
65 testSubject = createTestSubject();
66 testSubject.setResourceType(resourceType);
71 public void testGetCurrVersion() throws Exception {
72 DistributionDeployEvent testSubject;
76 testSubject = createTestSubject();
77 result = testSubject.getCurrVersion();
82 public void testSetCurrVersion() throws Exception {
83 DistributionDeployEvent testSubject;
84 String currVersion = "";
87 testSubject = createTestSubject();
88 testSubject.setCurrVersion(currVersion);
93 public void testGetTimebaseduuid() throws Exception {
94 DistributionDeployEvent testSubject;
98 testSubject = createTestSubject();
99 result = testSubject.getTimebaseduuid();
104 public void testSetTimebaseduuid() throws Exception {
105 DistributionDeployEvent testSubject;
106 UUID timebaseduuid = null;
109 testSubject = createTestSubject();
110 testSubject.setTimebaseduuid(timebaseduuid);
115 public void testGetTimestamp1() throws Exception {
116 DistributionDeployEvent testSubject;
120 testSubject = createTestSubject();
121 result = testSubject.getTimestamp1();
126 public void testSetTimestamp1() throws Exception {
127 DistributionDeployEvent testSubject;
128 Date timestamp1 = null;
131 testSubject = createTestSubject();
132 testSubject.setTimestamp1(timestamp1);
137 public void testGetRequestId() throws Exception {
138 DistributionDeployEvent testSubject;
142 testSubject = createTestSubject();
143 result = testSubject.getRequestId();
148 public void testSetRequestId() throws Exception {
149 DistributionDeployEvent testSubject;
150 String requestId = "";
153 testSubject = createTestSubject();
154 testSubject.setRequestId(requestId);
159 public void testGetServiceInstanceId() throws Exception {
160 DistributionDeployEvent testSubject;
164 testSubject = createTestSubject();
165 result = testSubject.getServiceInstanceId();
170 public void testSetServiceInstanceId() throws Exception {
171 DistributionDeployEvent testSubject;
172 String serviceInstanceId = "";
175 testSubject = createTestSubject();
176 testSubject.setServiceInstanceId(serviceInstanceId);
181 public void testGetAction() throws Exception {
182 DistributionDeployEvent testSubject;
186 testSubject = createTestSubject();
187 result = testSubject.getAction();
192 public void testSetAction() throws Exception {
193 DistributionDeployEvent testSubject;
197 testSubject = createTestSubject();
198 testSubject.setAction(action);
203 public void testGetStatus() throws Exception {
204 DistributionDeployEvent testSubject;
208 testSubject = createTestSubject();
209 result = testSubject.getStatus();
214 public void testSetStatus() throws Exception {
215 DistributionDeployEvent testSubject;
219 testSubject = createTestSubject();
220 testSubject.setStatus(status);
225 public void testGetDesc() throws Exception {
226 DistributionDeployEvent testSubject;
230 testSubject = createTestSubject();
231 result = testSubject.getDesc();
236 public void testSetDesc() throws Exception {
237 DistributionDeployEvent testSubject;
241 testSubject = createTestSubject();
242 testSubject.setDesc(desc);
247 public void testGetModifier() throws Exception {
248 DistributionDeployEvent testSubject;
252 testSubject = createTestSubject();
253 result = testSubject.getModifier();
258 public void testSetModifier() throws Exception {
259 DistributionDeployEvent testSubject;
260 String modifier = "";
263 testSubject = createTestSubject();
264 testSubject.setModifier(modifier);
269 public void testGetDid() throws Exception {
270 DistributionDeployEvent testSubject;
274 testSubject = createTestSubject();
275 result = testSubject.getDid();
280 public void testSetDid() throws Exception {
281 DistributionDeployEvent testSubject;
285 testSubject = createTestSubject();
286 testSubject.setDid(did);
291 public void testToString() throws Exception {
292 DistributionDeployEvent testSubject;
296 testSubject = createTestSubject();
297 result = testSubject.toString();