1 package org.openecomp.sdc.be.resources.data.auditing;
7 public class EcompOperationalEnvironmentEventTest {
9 private EcompOperationalEnvironmentEvent createTestSubject() {
10 return new EcompOperationalEnvironmentEvent();
14 public void testCtor() throws Exception {
15 new EcompOperationalEnvironmentEvent();
16 new EcompOperationalEnvironmentEvent("mock", "mock", "mock", "mock", "mock", "mock");
20 public void testGetOperationalEnvironmentId() throws Exception {
21 EcompOperationalEnvironmentEvent testSubject;
25 testSubject = createTestSubject();
26 result = testSubject.getOperationalEnvironmentId();
30 public void testSetOperationalEnvironmentId() throws Exception {
31 EcompOperationalEnvironmentEvent testSubject;
32 String operationalEnvironmentId = "";
35 testSubject = createTestSubject();
36 testSubject.setOperationalEnvironmentId(operationalEnvironmentId);
40 public void testGetOperationalEnvironmentAction() throws Exception {
41 EcompOperationalEnvironmentEvent testSubject;
45 testSubject = createTestSubject();
46 result = testSubject.getOperationalEnvironmentAction();
50 public void testSetOperationalEnvironmentAction() throws Exception {
51 EcompOperationalEnvironmentEvent testSubject;
52 String operationalEnvironmentAction = "";
55 testSubject = createTestSubject();
56 testSubject.setOperationalEnvironmentAction(operationalEnvironmentAction);
60 public void testGetOperationalEnvironmentName() throws Exception {
61 EcompOperationalEnvironmentEvent testSubject;
65 testSubject = createTestSubject();
66 result = testSubject.getOperationalEnvironmentName();
70 public void testSetOperationalEnvironmentName() throws Exception {
71 EcompOperationalEnvironmentEvent testSubject;
72 String operationalEnvironmentName = "";
75 testSubject = createTestSubject();
76 testSubject.setOperationalEnvironmentName(operationalEnvironmentName);
80 public void testGetOperationalEnvironmentType() throws Exception {
81 EcompOperationalEnvironmentEvent testSubject;
85 testSubject = createTestSubject();
86 result = testSubject.getOperationalEnvironmentType();
90 public void testSetOperational_environment_type() throws Exception {
91 EcompOperationalEnvironmentEvent testSubject;
92 String operationalEnvironmentType = "";
95 testSubject = createTestSubject();
96 testSubject.setOperational_environment_type(operationalEnvironmentType);
100 public void testGetTenantContext() throws Exception {
101 EcompOperationalEnvironmentEvent testSubject;
105 testSubject = createTestSubject();
106 result = testSubject.getTenantContext();
110 public void testSetTenantContext() throws Exception {
111 EcompOperationalEnvironmentEvent testSubject;
112 String tenantContext = "";
115 testSubject = createTestSubject();
116 testSubject.setTenantContext(tenantContext);
120 public void testGetTimestamp1() throws Exception {
121 EcompOperationalEnvironmentEvent testSubject;
125 testSubject = createTestSubject();
126 result = testSubject.getTimestamp1();
130 public void testSetTimestamp1() throws Exception {
131 EcompOperationalEnvironmentEvent testSubject;
132 Date timestamp = null;
135 testSubject = createTestSubject();
136 testSubject.setTimestamp1(timestamp);
140 public void testGetAction() throws Exception {
141 EcompOperationalEnvironmentEvent testSubject;
145 testSubject = createTestSubject();
146 result = testSubject.getAction();
150 public void testSetAction() throws Exception {
151 EcompOperationalEnvironmentEvent testSubject;
155 testSubject = createTestSubject();
156 testSubject.setAction(action);
160 public void testFillFields() throws Exception {
161 EcompOperationalEnvironmentEvent testSubject;
164 testSubject = createTestSubject();
165 testSubject.fillFields();
169 public void testToString() throws Exception {
170 EcompOperationalEnvironmentEvent testSubject;
174 testSubject = createTestSubject();
175 result = testSubject.toString();