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