re base code
[sdc.git] / catalog-dao / src / test / java / org / openecomp / sdc / be / resources / data / OperationalEnvironmentEntryTest.java
1 package org.openecomp.sdc.be.resources.data;
2
3 import org.junit.Test;
4 import org.openecomp.sdc.be.datatypes.enums.EnvironmentStatusEnum;
5
6 import java.util.Date;
7 import java.util.Set;
8
9 public class OperationalEnvironmentEntryTest {
10
11         private OperationalEnvironmentEntry createTestSubject() {
12                 return new OperationalEnvironmentEntry();
13         }
14
15         @Test
16         public void testGetLastModified() throws Exception {
17                 OperationalEnvironmentEntry testSubject;
18                 Date result;
19
20                 // default test
21                 testSubject = createTestSubject();
22                 result = testSubject.getLastModified();
23         }
24
25         @Test
26         public void testSetLastModified() throws Exception {
27                 OperationalEnvironmentEntry testSubject;
28                 Date lastModified = null;
29
30                 // default test
31                 testSubject = createTestSubject();
32                 testSubject.setLastModified(lastModified);
33         }
34
35         @Test
36         public void testGetEnvironmentId() throws Exception {
37                 OperationalEnvironmentEntry testSubject;
38                 String result;
39
40                 // default test
41                 testSubject = createTestSubject();
42                 result = testSubject.getEnvironmentId();
43         }
44
45         @Test
46         public void testSetEnvironmentId() throws Exception {
47                 OperationalEnvironmentEntry testSubject;
48                 String environmentId = "";
49
50                 // default test
51                 testSubject = createTestSubject();
52                 testSubject.setEnvironmentId(environmentId);
53         }
54
55         @Test
56         public void testGetTenant() throws Exception {
57                 OperationalEnvironmentEntry testSubject;
58                 String result;
59
60                 // default test
61                 testSubject = createTestSubject();
62                 result = testSubject.getTenant();
63         }
64
65         @Test
66         public void testSetTenant() throws Exception {
67                 OperationalEnvironmentEntry testSubject;
68                 String tenant = "";
69
70                 // default test
71                 testSubject = createTestSubject();
72                 testSubject.setTenant(tenant);
73         }
74
75         @Test
76         public void testGetIsProduction() throws Exception {
77                 OperationalEnvironmentEntry testSubject;
78                 Boolean result;
79
80                 // default test
81                 testSubject = createTestSubject();
82                 result = testSubject.getIsProduction();
83         }
84
85         @Test
86         public void testSetIsProduction() throws Exception {
87                 OperationalEnvironmentEntry testSubject;
88                 Boolean production = null;
89
90                 // default test
91                 testSubject = createTestSubject();
92                 testSubject.setIsProduction(production);
93         }
94
95         @Test
96         public void testGetEcompWorkloadContext() throws Exception {
97                 OperationalEnvironmentEntry testSubject;
98                 String result;
99
100                 // default test
101                 testSubject = createTestSubject();
102                 result = testSubject.getEcompWorkloadContext();
103         }
104
105         @Test
106         public void testSetEcompWorkloadContext() throws Exception {
107                 OperationalEnvironmentEntry testSubject;
108                 String ecompWorkloadContext = "";
109
110                 // default test
111                 testSubject = createTestSubject();
112                 testSubject.setEcompWorkloadContext(ecompWorkloadContext);
113         }
114
115         @Test
116         public void testGetStatus() throws Exception {
117                 OperationalEnvironmentEntry testSubject;
118                 String result;
119
120                 // default test
121                 testSubject = createTestSubject();
122                 result = testSubject.getStatus();
123         }
124
125         @Test
126         public void testSetStatus() throws Exception {
127                 OperationalEnvironmentEntry testSubject;
128                 String status = "";
129
130                 // default test
131                 testSubject = createTestSubject();
132                 testSubject.setStatus(status);
133         }
134
135         @Test
136         public void testSetStatus_1() throws Exception {
137                 OperationalEnvironmentEntry testSubject;
138
139                 // default test
140                 testSubject = createTestSubject();
141                 testSubject.setStatus(EnvironmentStatusEnum.COMPLETED);
142         }
143
144         @Test
145         public void testGetDmaapUebAddress() throws Exception {
146                 OperationalEnvironmentEntry testSubject;
147                 Set<String> result;
148
149                 // default test
150                 testSubject = createTestSubject();
151                 result = testSubject.getDmaapUebAddress();
152         }
153
154         @Test
155         public void testSetDmaapUebAddress() throws Exception {
156                 OperationalEnvironmentEntry testSubject;
157                 Set<String> dmaapUebAddress = null;
158
159                 // default test
160                 testSubject = createTestSubject();
161                 testSubject.setDmaapUebAddress(dmaapUebAddress);
162         }
163
164         @Test
165         public void testAddDmaapUebAddress() throws Exception {
166                 OperationalEnvironmentEntry testSubject;
167                 String address = "";
168
169                 // default test
170                 testSubject = createTestSubject();
171                 testSubject.addDmaapUebAddress(address);
172         }
173
174         @Test
175         public void testGetUebApikey() throws Exception {
176                 OperationalEnvironmentEntry testSubject;
177                 String result;
178
179                 // default test
180                 testSubject = createTestSubject();
181                 result = testSubject.getUebApikey();
182         }
183
184         @Test
185         public void testSetUebApikey() throws Exception {
186                 OperationalEnvironmentEntry testSubject;
187                 String uebApikey = "";
188
189                 // default test
190                 testSubject = createTestSubject();
191                 testSubject.setUebApikey(uebApikey);
192         }
193
194         @Test
195         public void testGetUebSecretKey() throws Exception {
196                 OperationalEnvironmentEntry testSubject;
197                 String result;
198
199                 // default test
200                 testSubject = createTestSubject();
201                 result = testSubject.getUebSecretKey();
202         }
203
204         @Test
205         public void testSetUebSecretKey() throws Exception {
206                 OperationalEnvironmentEntry testSubject;
207                 String uebSecretKey = "";
208
209                 // default test
210                 testSubject = createTestSubject();
211                 testSubject.setUebSecretKey(uebSecretKey);
212         }
213
214         @Test
215         public void testToString() throws Exception {
216                 OperationalEnvironmentEntry testSubject;
217                 String result;
218
219                 // default test
220                 testSubject = createTestSubject();
221                 result = testSubject.toString();
222         }
223 }