re base code
[sdc.git] / catalog-dao / src / test / java / org / openecomp / sdc / be / resources / data / auditing / EcompOperationalEnvironmentEventTest.java
1 package org.openecomp.sdc.be.resources.data.auditing;
2
3 import org.junit.Test;
4
5 import java.util.Date;
6
7 public class EcompOperationalEnvironmentEventTest {
8
9         private EcompOperationalEnvironmentEvent createTestSubject() {
10                 return new EcompOperationalEnvironmentEvent();
11         }
12
13         @Test
14         public void testCtor() throws Exception {
15                 new EcompOperationalEnvironmentEvent();
16                 new EcompOperationalEnvironmentEvent("mock", "mock", "mock", "mock", "mock", "mock");
17         }
18         
19         @Test
20         public void testGetOperationalEnvironmentId() throws Exception {
21                 EcompOperationalEnvironmentEvent testSubject;
22                 String result;
23
24                 // default test
25                 testSubject = createTestSubject();
26                 result = testSubject.getOperationalEnvironmentId();
27         }
28
29         @Test
30         public void testSetOperationalEnvironmentId() throws Exception {
31                 EcompOperationalEnvironmentEvent testSubject;
32                 String operationalEnvironmentId = "";
33
34                 // default test
35                 testSubject = createTestSubject();
36                 testSubject.setOperationalEnvironmentId(operationalEnvironmentId);
37         }
38
39         @Test
40         public void testGetOperationalEnvironmentAction() throws Exception {
41                 EcompOperationalEnvironmentEvent testSubject;
42                 String result;
43
44                 // default test
45                 testSubject = createTestSubject();
46                 result = testSubject.getOperationalEnvironmentAction();
47         }
48
49         @Test
50         public void testSetOperationalEnvironmentAction() throws Exception {
51                 EcompOperationalEnvironmentEvent testSubject;
52                 String operationalEnvironmentAction = "";
53
54                 // default test
55                 testSubject = createTestSubject();
56                 testSubject.setOperationalEnvironmentAction(operationalEnvironmentAction);
57         }
58
59         @Test
60         public void testGetOperationalEnvironmentName() throws Exception {
61                 EcompOperationalEnvironmentEvent testSubject;
62                 String result;
63
64                 // default test
65                 testSubject = createTestSubject();
66                 result = testSubject.getOperationalEnvironmentName();
67         }
68
69         @Test
70         public void testSetOperationalEnvironmentName() throws Exception {
71                 EcompOperationalEnvironmentEvent testSubject;
72                 String operationalEnvironmentName = "";
73
74                 // default test
75                 testSubject = createTestSubject();
76                 testSubject.setOperationalEnvironmentName(operationalEnvironmentName);
77         }
78
79         @Test
80         public void testGetOperationalEnvironmentType() throws Exception {
81                 EcompOperationalEnvironmentEvent testSubject;
82                 String result;
83
84                 // default test
85                 testSubject = createTestSubject();
86                 result = testSubject.getOperationalEnvironmentType();
87         }
88
89         @Test
90         public void testSetOperational_environment_type() throws Exception {
91                 EcompOperationalEnvironmentEvent testSubject;
92                 String operationalEnvironmentType = "";
93
94                 // default test
95                 testSubject = createTestSubject();
96                 testSubject.setOperational_environment_type(operationalEnvironmentType);
97         }
98
99         @Test
100         public void testGetTenantContext() throws Exception {
101                 EcompOperationalEnvironmentEvent testSubject;
102                 String result;
103
104                 // default test
105                 testSubject = createTestSubject();
106                 result = testSubject.getTenantContext();
107         }
108
109         @Test
110         public void testSetTenantContext() throws Exception {
111                 EcompOperationalEnvironmentEvent testSubject;
112                 String tenantContext = "";
113
114                 // default test
115                 testSubject = createTestSubject();
116                 testSubject.setTenantContext(tenantContext);
117         }
118
119         @Test
120         public void testGetTimestamp1() throws Exception {
121                 EcompOperationalEnvironmentEvent testSubject;
122                 Date result;
123
124                 // default test
125                 testSubject = createTestSubject();
126                 result = testSubject.getTimestamp1();
127         }
128
129         @Test
130         public void testSetTimestamp1() throws Exception {
131                 EcompOperationalEnvironmentEvent testSubject;
132                 Date timestamp = null;
133
134                 // default test
135                 testSubject = createTestSubject();
136                 testSubject.setTimestamp1(timestamp);
137         }
138
139         @Test
140         public void testGetAction() throws Exception {
141                 EcompOperationalEnvironmentEvent testSubject;
142                 String result;
143
144                 // default test
145                 testSubject = createTestSubject();
146                 result = testSubject.getAction();
147         }
148
149         @Test
150         public void testSetAction() throws Exception {
151                 EcompOperationalEnvironmentEvent testSubject;
152                 String action = "";
153
154                 // default test
155                 testSubject = createTestSubject();
156                 testSubject.setAction(action);
157         }
158
159         @Test
160         public void testFillFields() throws Exception {
161                 EcompOperationalEnvironmentEvent testSubject;
162
163                 // default test
164                 testSubject = createTestSubject();
165                 testSubject.fillFields();
166         }
167
168         @Test
169         public void testToString() throws Exception {
170                 EcompOperationalEnvironmentEvent testSubject;
171                 String result;
172
173                 // default test
174                 testSubject = createTestSubject();
175                 result = testSubject.toString();
176         }
177 }