1 package org.openecomp.sdc.be.resources.data.auditing;
4 import org.openecomp.sdc.be.resources.data.auditing.model.CommonAuditData;
10 public class GetCategoryHierarchyEventTest {
12 private GetCategoryHierarchyEvent createTestSubject() {
13 return new GetCategoryHierarchyEvent();
17 public void testCtor() throws Exception {
18 new GetCategoryHierarchyEvent();
19 new GetCategoryHierarchyEvent("mock", CommonAuditData.newBuilder().build(), "mock", "mock");
23 public void testFillFields() throws Exception {
24 GetCategoryHierarchyEvent testSubject;
27 testSubject = createTestSubject();
28 testSubject.fillFields();
33 public void testGetTimebaseduuid() throws Exception {
34 GetCategoryHierarchyEvent testSubject;
38 testSubject = createTestSubject();
39 result = testSubject.getTimebaseduuid();
44 public void testSetTimebaseduuid() throws Exception {
45 GetCategoryHierarchyEvent testSubject;
46 UUID timebaseduuid = null;
49 testSubject = createTestSubject();
50 testSubject.setTimebaseduuid(timebaseduuid);
55 public void testGetTimestamp1() throws Exception {
56 GetCategoryHierarchyEvent testSubject;
60 testSubject = createTestSubject();
61 result = testSubject.getTimestamp1();
66 public void testSetTimestamp1() throws Exception {
67 GetCategoryHierarchyEvent testSubject;
68 Date timestamp1 = null;
71 testSubject = createTestSubject();
72 testSubject.setTimestamp1(timestamp1);
77 public void testGetRequestId() throws Exception {
78 GetCategoryHierarchyEvent testSubject;
82 testSubject = createTestSubject();
83 result = testSubject.getRequestId();
88 public void testSetRequestId() throws Exception {
89 GetCategoryHierarchyEvent testSubject;
90 String requestId = "";
93 testSubject = createTestSubject();
94 testSubject.setRequestId(requestId);
99 public void testGetAction() throws Exception {
100 GetCategoryHierarchyEvent testSubject;
104 testSubject = createTestSubject();
105 result = testSubject.getAction();
110 public void testSetAction() throws Exception {
111 GetCategoryHierarchyEvent testSubject;
115 testSubject = createTestSubject();
116 testSubject.setAction(action);
121 public void testGetStatus() throws Exception {
122 GetCategoryHierarchyEvent testSubject;
126 testSubject = createTestSubject();
127 result = testSubject.getStatus();
132 public void testSetStatus() throws Exception {
133 GetCategoryHierarchyEvent testSubject;
137 testSubject = createTestSubject();
138 testSubject.setStatus(status);
143 public void testGetDesc() throws Exception {
144 GetCategoryHierarchyEvent testSubject;
148 testSubject = createTestSubject();
149 result = testSubject.getDesc();
154 public void testSetDesc() throws Exception {
155 GetCategoryHierarchyEvent testSubject;
159 testSubject = createTestSubject();
160 testSubject.setDesc(desc);
165 public void testGetModifier() throws Exception {
166 GetCategoryHierarchyEvent testSubject;
170 testSubject = createTestSubject();
171 result = testSubject.getModifier();
176 public void testSetModifier() throws Exception {
177 GetCategoryHierarchyEvent testSubject;
178 String modifier = "";
181 testSubject = createTestSubject();
182 testSubject.setModifier(modifier);
187 public void testGetDetails() throws Exception {
188 GetCategoryHierarchyEvent testSubject;
192 testSubject = createTestSubject();
193 result = testSubject.getDetails();
198 public void testSetDetails() throws Exception {
199 GetCategoryHierarchyEvent testSubject;
203 testSubject = createTestSubject();
204 testSubject.setDetails(details);
209 public void testToString() throws Exception {
210 GetCategoryHierarchyEvent testSubject;
214 testSubject = createTestSubject();
215 result = testSubject.toString();