1 package org.openecomp.sdc.fe.config;
6 import javax.annotation.Generated;
9 import org.openecomp.sdc.be.config.Configuration.OnboardingConfig;
10 import org.openecomp.sdc.fe.config.Configuration.FeMonitoringConfig;
13 public class ConfigurationTest {
15 private Configuration createTestSubject() {
16 return new Configuration();
21 public void testGetKibanaProtocol() throws Exception {
22 Configuration testSubject;
26 testSubject = createTestSubject();
27 result = testSubject.getKibanaProtocol();
32 public void testSetKibanaProtocol() throws Exception {
33 Configuration testSubject;
34 String kibanaProtocol = "";
37 testSubject = createTestSubject();
38 testSubject.setKibanaProtocol(kibanaProtocol);
43 public void testGetKibanaHost() throws Exception {
44 Configuration testSubject;
48 testSubject = createTestSubject();
49 result = testSubject.getKibanaHost();
54 public void testSetKibanaHost() throws Exception {
55 Configuration testSubject;
56 String kibanaHost = "";
59 testSubject = createTestSubject();
60 testSubject.setKibanaHost(kibanaHost);
65 public void testGetKibanaPort() throws Exception {
66 Configuration testSubject;
70 testSubject = createTestSubject();
71 result = testSubject.getKibanaPort();
76 public void testSetKibanaPort() throws Exception {
77 Configuration testSubject;
78 Integer kibanaPort = 0;
81 testSubject = createTestSubject();
82 testSubject.setKibanaPort(kibanaPort);
87 public void testGetSystemMonitoring() throws Exception {
88 Configuration testSubject;
89 FeMonitoringConfig result;
92 testSubject = createTestSubject();
93 result = testSubject.getSystemMonitoring();
98 public void testSetSystemMonitoring() throws Exception {
99 Configuration testSubject;
100 FeMonitoringConfig systemMonitoring = null;
103 testSubject = createTestSubject();
104 testSubject.setSystemMonitoring(systemMonitoring);
109 public void testGetHealthCheckSocketTimeoutInMs() throws Exception {
110 Configuration testSubject;
114 testSubject = createTestSubject();
115 result = testSubject.getHealthCheckSocketTimeoutInMs();
120 public void testGetHealthCheckSocketTimeoutInMs_1() throws Exception {
121 Configuration testSubject;
126 testSubject = createTestSubject();
127 result = testSubject.getHealthCheckSocketTimeoutInMs(defaultVal);
132 public void testSetHealthCheckSocketTimeoutInMs() throws Exception {
133 Configuration testSubject;
134 Integer healthCheckSocketTimeout = 0;
137 testSubject = createTestSubject();
138 testSubject.setHealthCheckSocketTimeoutInMs(healthCheckSocketTimeout);
143 public void testGetHealthCheckIntervalInSeconds() throws Exception {
144 Configuration testSubject;
148 testSubject = createTestSubject();
149 result = testSubject.getHealthCheckIntervalInSeconds();
154 public void testGetHealthCheckIntervalInSeconds_1() throws Exception {
155 Configuration testSubject;
160 testSubject = createTestSubject();
161 result = testSubject.getHealthCheckIntervalInSeconds(defaultVal);
166 public void testSetHealthCheckIntervalInSeconds() throws Exception {
167 Configuration testSubject;
168 Integer healthCheckInterval = 0;
171 testSubject = createTestSubject();
172 testSubject.setHealthCheckIntervalInSeconds(healthCheckInterval);
177 public void testGetReleased() throws Exception {
178 Configuration testSubject;
182 testSubject = createTestSubject();
183 result = testSubject.getReleased();
188 public void testGetVersion() throws Exception {
189 Configuration testSubject;
193 testSubject = createTestSubject();
194 result = testSubject.getVersion();
199 public void testSetReleased() throws Exception {
200 Configuration testSubject;
201 Date released = null;
204 testSubject = createTestSubject();
205 testSubject.setReleased(released);
210 public void testSetVersion() throws Exception {
211 Configuration testSubject;
215 testSubject = createTestSubject();
216 testSubject.setVersion(version);
221 public void testGetConnection() throws Exception {
222 Configuration testSubject;
226 testSubject = createTestSubject();
227 result = testSubject.getConnection();
232 public void testSetConnection() throws Exception {
233 Configuration testSubject;
234 Connection connection = null;
237 testSubject = createTestSubject();
238 testSubject.setConnection(connection);
243 public void testGetProtocols() throws Exception {
244 Configuration testSubject;
248 testSubject = createTestSubject();
249 result = testSubject.getProtocols();
254 public void testSetProtocols() throws Exception {
255 Configuration testSubject;
256 List<String> protocols = null;
259 testSubject = createTestSubject();
260 testSubject.setProtocols(protocols);
265 public void testGetBeHost() throws Exception {
266 Configuration testSubject;
270 testSubject = createTestSubject();
271 result = testSubject.getBeHost();
276 public void testSetBeHost() throws Exception {
277 Configuration testSubject;
281 testSubject = createTestSubject();
282 testSubject.setBeHost(beHost);
287 public void testGetBeHttpPort() throws Exception {
288 Configuration testSubject;
292 testSubject = createTestSubject();
293 result = testSubject.getBeHttpPort();
298 public void testSetBeHttpPort() throws Exception {
299 Configuration testSubject;
300 Integer beHttpPort = 0;
303 testSubject = createTestSubject();
304 testSubject.setBeHttpPort(beHttpPort);
309 public void testGetBeSslPort() throws Exception {
310 Configuration testSubject;
314 testSubject = createTestSubject();
315 result = testSubject.getBeSslPort();
320 public void testSetBeSslPort() throws Exception {
321 Configuration testSubject;
322 Integer beSslPort = 0;
325 testSubject = createTestSubject();
326 testSubject.setBeSslPort(beSslPort);
331 public void testGetBeContext() throws Exception {
332 Configuration testSubject;
336 testSubject = createTestSubject();
337 result = testSubject.getBeContext();
342 public void testSetBeContext() throws Exception {
343 Configuration testSubject;
344 String beContext = "";
347 testSubject = createTestSubject();
348 testSubject.setBeContext(beContext);
353 public void testGetBeProtocol() throws Exception {
354 Configuration testSubject;
358 testSubject = createTestSubject();
359 result = testSubject.getBeProtocol();
364 public void testSetBeProtocol() throws Exception {
365 Configuration testSubject;
366 String beProtocol = "";
369 testSubject = createTestSubject();
370 testSubject.setBeProtocol(beProtocol);
375 public void testGetThreadpoolSize() throws Exception {
376 Configuration testSubject;
380 testSubject = createTestSubject();
381 result = testSubject.getThreadpoolSize();
386 public void testSetThreadpoolSize() throws Exception {
387 Configuration testSubject;
388 int threadpoolSize = 0;
391 testSubject = createTestSubject();
392 testSubject.setThreadpoolSize(threadpoolSize);
397 public void testGetRequestTimeout() throws Exception {
398 Configuration testSubject;
402 testSubject = createTestSubject();
403 result = testSubject.getRequestTimeout();
408 public void testSetRequestTimeout() throws Exception {
409 Configuration testSubject;
410 int requestTimeout = 0;
413 testSubject = createTestSubject();
414 testSubject.setRequestTimeout(requestTimeout);
419 public void testGetIdentificationHeaderFields() throws Exception {
420 Configuration testSubject;
421 List<List<String>> result;
424 testSubject = createTestSubject();
425 result = testSubject.getIdentificationHeaderFields();
430 public void testSetIdentificationHeaderFields() throws Exception {
431 Configuration testSubject;
432 List<List<String>> identificationHeaderFields = null;
435 testSubject = createTestSubject();
436 testSubject.setIdentificationHeaderFields(identificationHeaderFields);
441 public void testGetOptionalHeaderFields() throws Exception {
442 Configuration testSubject;
443 List<List<String>> result;
446 testSubject = createTestSubject();
447 result = testSubject.getOptionalHeaderFields();
452 public void testSetOptionalHeaderFields() throws Exception {
453 Configuration testSubject;
454 List<List<String>> optionalHeaderFields = null;
457 testSubject = createTestSubject();
458 testSubject.setOptionalHeaderFields(optionalHeaderFields);
463 public void testGetForwardHeaderFields() throws Exception {
464 Configuration testSubject;
468 testSubject = createTestSubject();
469 result = testSubject.getForwardHeaderFields();
474 public void testSetForwardHeaderFields() throws Exception {
475 Configuration testSubject;
476 List<String> forwardHeaderFields = null;
479 testSubject = createTestSubject();
480 testSubject.setForwardHeaderFields(forwardHeaderFields);
485 public void testGetFeFqdn() throws Exception {
486 Configuration testSubject;
490 testSubject = createTestSubject();
491 result = testSubject.getFeFqdn();
496 public void testSetFeFqdn() throws Exception {
497 Configuration testSubject;
501 testSubject = createTestSubject();
502 testSubject.setFeFqdn(feFqdn);
507 public void testGetOnboardingForwardContext() throws Exception {
508 Configuration testSubject;
512 testSubject = createTestSubject();
513 result = testSubject.getOnboardingForwardContext();
518 public void testSetOnboardingForwardContext() throws Exception {
519 Configuration testSubject;
520 String onboardingForwardContext = "";
523 testSubject = createTestSubject();
524 testSubject.setOnboardingForwardContext(onboardingForwardContext);
535 public void testToString() throws Exception {
536 Configuration testSubject;
540 testSubject = createTestSubject();
541 result = testSubject.toString();