Added oparent to sdc main
[sdc.git] / asdctool / src / test / java / org / openecomp / sdc / asdctool / simulator / tenant / OperationalEnvironmentTest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  * 
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  * 
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.openecomp.sdc.asdctool.simulator.tenant;
22
23 import org.junit.Test;
24 import org.openecomp.sdc.be.datatypes.enums.EnvironmentStatusEnum;
25
26 public class OperationalEnvironmentTest {
27
28         private OperationalEnvironment createTestSubject() {
29                 return new OperationalEnvironment();
30         }
31
32         @Test
33         public void testGetLastModified() throws Exception {
34                 OperationalEnvironment testSubject;
35                 String result;
36
37                 // default test
38                 testSubject = createTestSubject();
39                 result = testSubject.getLastModified();
40         }
41
42         @Test
43         public void testSetLastModified() throws Exception {
44                 OperationalEnvironment testSubject;
45                 String lastModified = "";
46
47                 // default test
48                 testSubject = createTestSubject();
49                 testSubject.setLastModified(lastModified);
50         }
51
52         @Test
53         public void testGetEnvironmentId() throws Exception {
54                 OperationalEnvironment testSubject;
55                 String result;
56
57                 // default test
58                 testSubject = createTestSubject();
59                 result = testSubject.getEnvironmentId();
60         }
61
62         @Test
63         public void testSetEnvironmentId() throws Exception {
64                 OperationalEnvironment testSubject;
65                 String environmentId = "";
66
67                 // default test
68                 testSubject = createTestSubject();
69                 testSubject.setEnvironmentId(environmentId);
70         }
71
72         @Test
73         public void testGetTenant() throws Exception {
74                 OperationalEnvironment testSubject;
75                 String result;
76
77                 // default test
78                 testSubject = createTestSubject();
79                 result = testSubject.getTenant();
80         }
81
82         @Test
83         public void testSetTenant() throws Exception {
84                 OperationalEnvironment testSubject;
85                 String tenant = "";
86
87                 // default test
88                 testSubject = createTestSubject();
89                 testSubject.setTenant(tenant);
90         }
91
92         @Test
93         public void testGetIsProduction() throws Exception {
94                 OperationalEnvironment testSubject;
95                 Boolean result;
96
97                 // default test
98                 testSubject = createTestSubject();
99                 result = testSubject.getIsProduction();
100         }
101
102         @Test
103         public void testSetIsProduction() throws Exception {
104                 OperationalEnvironment testSubject;
105                 Boolean production = null;
106
107                 // default test
108                 testSubject = createTestSubject();
109                 testSubject.setIsProduction(production);
110         }
111
112         @Test
113         public void testGetEcompWorkloadContext() throws Exception {
114                 OperationalEnvironment testSubject;
115                 String result;
116
117                 // default test
118                 testSubject = createTestSubject();
119                 result = testSubject.getEcompWorkloadContext();
120         }
121
122         @Test
123         public void testSetEcompWorkloadContext() throws Exception {
124                 OperationalEnvironment testSubject;
125                 String ecompWorkloadContext = "";
126
127                 // default test
128                 testSubject = createTestSubject();
129                 testSubject.setEcompWorkloadContext(ecompWorkloadContext);
130         }
131
132         @Test
133         public void testGetStatus() throws Exception {
134                 OperationalEnvironment testSubject;
135                 String result;
136
137                 // default test
138                 testSubject = createTestSubject();
139                 result = testSubject.getStatus();
140         }
141
142         @Test
143         public void testSetStatus() throws Exception {
144                 OperationalEnvironment testSubject;
145                 String status = "";
146
147                 // default test
148                 testSubject = createTestSubject();
149                 testSubject.setStatus(status);
150         }
151
152         @Test
153         public void testSetStatus_1() throws Exception {
154                 OperationalEnvironment testSubject;
155
156                 // default test
157                 testSubject = createTestSubject();
158                 testSubject.setStatus(EnvironmentStatusEnum.COMPLETED);
159         }
160
161         @Test
162         public void testGetDmaapUebAddress() throws Exception {
163                 OperationalEnvironment testSubject;
164                 String result;
165
166                 // default test
167                 testSubject = createTestSubject();
168                 result = testSubject.getDmaapUebAddress();
169         }
170
171         @Test
172         public void testSetDmaapUebAddress() throws Exception {
173                 OperationalEnvironment testSubject;
174                 String dmaapUebAddress = "";
175
176                 // default test
177                 testSubject = createTestSubject();
178                 testSubject.setDmaapUebAddress(dmaapUebAddress);
179         }
180
181         @Test
182         public void testGetUebApikey() throws Exception {
183                 OperationalEnvironment testSubject;
184                 String result;
185
186                 // default test
187                 testSubject = createTestSubject();
188                 result = testSubject.getUebApikey();
189         }
190
191         @Test
192         public void testSetUebApikey() throws Exception {
193                 OperationalEnvironment testSubject;
194                 String uebApikey = "";
195
196                 // default test
197                 testSubject = createTestSubject();
198                 testSubject.setUebApikey(uebApikey);
199         }
200
201         @Test
202         public void testGetUebSecretKey() throws Exception {
203                 OperationalEnvironment testSubject;
204                 String result;
205
206                 // default test
207                 testSubject = createTestSubject();
208                 result = testSubject.getUebSecretKey();
209         }
210
211         @Test
212         public void testSetUebSecretKey() throws Exception {
213                 OperationalEnvironment testSubject;
214                 String uebSecretKey = "";
215
216                 // default test
217                 testSubject = createTestSubject();
218                 testSubject.setUebSecretKey(uebSecretKey);
219         }
220 }