2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.openecomp.sdc.be.config;
23 import java.util.Date;
24 import java.util.LinkedList;
25 import java.util.List;
29 import org.junit.Test;
30 import org.openecomp.sdc.be.config.Configuration.ApplicationL1CacheConfig;
31 import org.openecomp.sdc.be.config.Configuration.ApplicationL2CacheConfig;
32 import org.openecomp.sdc.be.config.Configuration.ArtifactTypeConfig;
33 import org.openecomp.sdc.be.config.Configuration.BeMonitoringConfig;
34 import org.openecomp.sdc.be.config.Configuration.CassandrConfig;
35 import org.openecomp.sdc.be.config.Configuration.EcompPortalConfig;
36 import org.openecomp.sdc.be.config.Configuration.ElasticSearchConfig;
37 import org.openecomp.sdc.be.config.Configuration.OnboardingConfig;
38 import org.openecomp.sdc.be.config.Configuration.SwitchoverDetectorConfig;
39 import org.openecomp.sdc.be.config.Configuration.ToscaValidatorsConfig;
40 import org.openecomp.sdc.be.config.Configuration.VfModuleProperty;
43 public class ConfigurationTest {
45 private Configuration createTestSubject() {
46 return new Configuration();
51 public void testGetGenericAssetNodeTypes() throws Exception {
52 Configuration testSubject;
53 Map<String, String> result;
56 testSubject = createTestSubject();
57 result = testSubject.getGenericAssetNodeTypes();
62 public void testSetGenericAssetNodeTypes() throws Exception {
63 Configuration testSubject;
64 Map<String, String> genericAssetNodeTypes = null;
67 testSubject = createTestSubject();
68 testSubject.setGenericAssetNodeTypes(genericAssetNodeTypes);
73 public void testGetSwitchoverDetector() throws Exception {
74 Configuration testSubject;
75 SwitchoverDetectorConfig result;
78 testSubject = createTestSubject();
79 result = testSubject.getSwitchoverDetector();
84 public void testSetSwitchoverDetector() throws Exception {
85 Configuration testSubject;
86 SwitchoverDetectorConfig switchoverDetector = null;
89 testSubject = createTestSubject();
90 testSubject.setSwitchoverDetector(switchoverDetector);
95 public void testGetApplicationL1Cache() throws Exception {
96 Configuration testSubject;
97 ApplicationL1CacheConfig result;
100 testSubject = createTestSubject();
101 result = testSubject.getApplicationL1Cache();
106 public void testSetApplicationL1Cache() throws Exception {
107 Configuration testSubject;
108 ApplicationL1CacheConfig applicationL1Cache = null;
111 testSubject = createTestSubject();
112 testSubject.setApplicationL1Cache(applicationL1Cache);
117 public void testGetApplicationL2Cache() throws Exception {
118 Configuration testSubject;
119 ApplicationL2CacheConfig result;
122 testSubject = createTestSubject();
123 result = testSubject.getApplicationL2Cache();
128 public void testSetApplicationL2Cache() throws Exception {
129 Configuration testSubject;
130 ApplicationL2CacheConfig applicationL2Cache = null;
133 testSubject = createTestSubject();
134 testSubject.setApplicationL2Cache(applicationL2Cache);
139 public void testGetCassandraConfig() throws Exception {
140 Configuration testSubject;
141 CassandrConfig result;
144 testSubject = createTestSubject();
145 result = testSubject.getCassandraConfig();
150 public void testSetCassandraConfig() throws Exception {
151 Configuration testSubject;
152 CassandrConfig cassandraKeySpace = null;
155 testSubject = createTestSubject();
156 testSubject.setCassandraConfig(cassandraKeySpace);
161 public void testGetIdentificationHeaderFields() throws Exception {
162 Configuration testSubject;
166 testSubject = createTestSubject();
167 result = testSubject.getIdentificationHeaderFields();
172 public void testSetIdentificationHeaderFields() throws Exception {
173 Configuration testSubject;
174 List<String> identificationHeaderFields = null;
177 testSubject = createTestSubject();
178 testSubject.setIdentificationHeaderFields(identificationHeaderFields);
183 public void testGetReleased() throws Exception {
184 Configuration testSubject;
188 testSubject = createTestSubject();
189 result = testSubject.getReleased();
194 public void testGetVersion() throws Exception {
195 Configuration testSubject;
199 testSubject = createTestSubject();
200 result = testSubject.getVersion();
205 public void testSetReleased() throws Exception {
206 Configuration testSubject;
207 Date released = null;
210 testSubject = createTestSubject();
211 testSubject.setReleased(released);
216 public void testSetVersion() throws Exception {
217 Configuration testSubject;
221 testSubject = createTestSubject();
222 testSubject.setVersion(version);
227 public void testGetProtocols() throws Exception {
228 Configuration testSubject;
232 testSubject = createTestSubject();
233 result = testSubject.getProtocols();
238 public void testSetProtocols() throws Exception {
239 Configuration testSubject;
240 List<String> protocols = null;
243 testSubject = createTestSubject();
244 testSubject.setProtocols(protocols);
249 public void testGetUsers() throws Exception {
250 Configuration testSubject;
251 Map<String, String> result;
254 testSubject = createTestSubject();
255 result = testSubject.getUsers();
260 public void testSetUsers() throws Exception {
261 Configuration testSubject;
262 Map<String, String> users = null;
265 testSubject = createTestSubject();
266 testSubject.setUsers(users);
271 public void testGetBeFqdn() throws Exception {
272 Configuration testSubject;
276 testSubject = createTestSubject();
277 result = testSubject.getBeFqdn();
282 public void testSetBeFqdn() throws Exception {
283 Configuration testSubject;
287 testSubject = createTestSubject();
288 testSubject.setBeFqdn(beHost);
293 public void testGetBeHttpPort() throws Exception {
294 Configuration testSubject;
298 testSubject = createTestSubject();
299 result = testSubject.getBeHttpPort();
304 public void testSetBeHttpPort() throws Exception {
305 Configuration testSubject;
306 Integer beHttpPort = 0;
309 testSubject = createTestSubject();
310 testSubject.setBeHttpPort(beHttpPort);
315 public void testGetBeSslPort() throws Exception {
316 Configuration testSubject;
320 testSubject = createTestSubject();
321 result = testSubject.getBeSslPort();
326 public void testSetBeSslPort() throws Exception {
327 Configuration testSubject;
328 Integer beSslPort = 0;
331 testSubject = createTestSubject();
332 testSubject.setBeSslPort(beSslPort);
337 public void testGetBeContext() throws Exception {
338 Configuration testSubject;
342 testSubject = createTestSubject();
343 result = testSubject.getBeContext();
348 public void testSetBeContext() throws Exception {
349 Configuration testSubject;
350 String beContext = "";
353 testSubject = createTestSubject();
354 testSubject.setBeContext(beContext);
359 public void testGetBeProtocol() throws Exception {
360 Configuration testSubject;
364 testSubject = createTestSubject();
365 result = testSubject.getBeProtocol();
370 public void testSetBeProtocol() throws Exception {
371 Configuration testSubject;
372 String beProtocol = "";
375 testSubject = createTestSubject();
376 testSubject.setBeProtocol(beProtocol);
381 public void testGetNeo4j() throws Exception {
382 Configuration testSubject;
383 Map<String, Object> result;
386 testSubject = createTestSubject();
387 result = testSubject.getNeo4j();
392 public void testSetNeo4j() throws Exception {
393 Configuration testSubject;
394 Map<String, Object> neo4j = null;
397 testSubject = createTestSubject();
398 testSubject.setNeo4j(neo4j);
403 public void testGetElasticSearch() throws Exception {
404 Configuration testSubject;
405 ElasticSearchConfig result;
408 testSubject = createTestSubject();
409 result = testSubject.getElasticSearch();
414 public void testSetElasticSearch() throws Exception {
415 Configuration testSubject;
416 ElasticSearchConfig elasticSearch = null;
419 testSubject = createTestSubject();
420 testSubject.setElasticSearch(elasticSearch);
425 public void testGetJanusGraphCfgFile() throws Exception {
426 Configuration testSubject;
430 testSubject = createTestSubject();
431 result = testSubject.getJanusGraphCfgFile();
436 public void testSetJanusGraphCfgFile() throws Exception {
437 Configuration testSubject;
438 String janusGraphCfgFile = "";
441 testSubject = createTestSubject();
442 testSubject.setJanusGraphCfgFile(janusGraphCfgFile);
447 public void testGetJanusGraphMigrationKeySpaceCfgFile() throws Exception {
448 Configuration testSubject;
452 testSubject = createTestSubject();
453 result = testSubject.getJanusGraphMigrationKeySpaceCfgFile();
458 public void testSetJanusGraphMigrationKeySpaceCfgFile() throws Exception {
459 Configuration testSubject;
460 String janusGraphMigrationKeySpaceCfgFile = "";
463 testSubject = createTestSubject();
464 testSubject.setJanusGraphMigrationKeySpaceCfgFile(janusGraphMigrationKeySpaceCfgFile);
469 public void testGetJanusGraphInMemoryGraph() throws Exception {
470 Configuration testSubject;
474 testSubject = createTestSubject();
475 result = testSubject.getJanusGraphInMemoryGraph();
480 public void testSetJanusGraphInMemoryGraph() throws Exception {
481 Configuration testSubject;
482 Boolean janusGraphInMemoryGraph = null;
485 testSubject = createTestSubject();
486 testSubject.setJanusGraphInMemoryGraph(janusGraphInMemoryGraph);
491 public void testGetStartMigrationFrom() throws Exception {
492 Configuration testSubject;
496 testSubject = createTestSubject();
497 result = testSubject.getStartMigrationFrom();
502 public void testSetStartMigrationFrom() throws Exception {
503 Configuration testSubject;
504 int startMigrationFrom = 0;
507 testSubject = createTestSubject();
508 testSubject.setStartMigrationFrom(startMigrationFrom);
513 public void testGetJanusGraphLockTimeout() throws Exception {
514 Configuration testSubject;
518 testSubject = createTestSubject();
519 result = testSubject.getJanusGraphLockTimeout();
524 public void testSetJanusGraphLockTimeout() throws Exception {
525 Configuration testSubject;
526 Long janusGraphLockTimeout = null;
529 testSubject = createTestSubject();
530 testSubject.setJanusGraphLockTimeout(janusGraphLockTimeout);
535 public void testGetJanusGraphHealthCheckReadTimeout() throws Exception {
536 Configuration testSubject;
540 testSubject = createTestSubject();
541 result = testSubject.getJanusGraphHealthCheckReadTimeout();
548 public void testSetJanusGraphHealthCheckReadTimeout() throws Exception {
549 Configuration testSubject;
550 Long janusGraphHealthCheckReadTimeout = null;
553 testSubject = createTestSubject();
554 testSubject.setJanusGraphHealthCheckReadTimeout(janusGraphHealthCheckReadTimeout);
559 public void testGetJanusGraphReconnectIntervalInSeconds() throws Exception {
560 Configuration testSubject;
564 testSubject = createTestSubject();
565 result = testSubject.getJanusGraphReconnectIntervalInSeconds();
572 public void testSetJanusGraphReconnectIntervalInSeconds() throws Exception {
573 Configuration testSubject;
574 Long janusGraphReconnectIntervalInSeconds = null;
577 testSubject = createTestSubject();
578 testSubject.setJanusGraphReconnectIntervalInSeconds(janusGraphReconnectIntervalInSeconds);
583 public void testGetEsReconnectIntervalInSeconds() throws Exception {
584 Configuration testSubject;
588 testSubject = createTestSubject();
589 result = testSubject.getEsReconnectIntervalInSeconds();
596 public void testSetEsReconnectIntervalInSeconds() throws Exception {
597 Configuration testSubject;
598 Long esReconnectIntervalInSeconds = null;
601 testSubject = createTestSubject();
602 testSubject.setEsReconnectIntervalInSeconds(esReconnectIntervalInSeconds);
607 public void testGetArtifactTypes() throws Exception {
608 Configuration testSubject;
612 testSubject = createTestSubject();
613 result = testSubject.getArtifactTypes();
618 public void testSetArtifactTypes() throws Exception {
619 Configuration testSubject;
620 List<String> artifactTypes = null;
623 testSubject = createTestSubject();
624 testSubject.setArtifactTypes(artifactTypes);
629 public void testGetExcludeResourceCategory() throws Exception {
630 Configuration testSubject;
634 testSubject = createTestSubject();
635 result = testSubject.getExcludeResourceCategory();
640 public void testSetExcludeResourceCategory() throws Exception {
641 Configuration testSubject;
642 List<String> excludeResourceCategory = null;
645 testSubject = createTestSubject();
646 testSubject.setExcludeResourceCategory(excludeResourceCategory);
651 public void testGetExcludeResourceType() throws Exception {
652 Configuration testSubject;
656 testSubject = createTestSubject();
657 result = testSubject.getExcludeResourceType();
662 public void testSetExcludeResourceType() throws Exception {
663 Configuration testSubject;
664 List<String> excludeResourceType = null;
667 testSubject = createTestSubject();
668 testSubject.setExcludeResourceType(excludeResourceType);
673 public void testGetToscaArtifacts() throws Exception {
674 Configuration testSubject;
675 Map<String, Object> result;
678 testSubject = createTestSubject();
679 result = testSubject.getToscaArtifacts();
684 public void testSetToscaArtifacts() throws Exception {
685 Configuration testSubject;
686 Map<String, Object> toscaArtifacts = null;
689 testSubject = createTestSubject();
690 testSubject.setToscaArtifacts(toscaArtifacts);
695 public void testGetInformationalResourceArtifacts() throws Exception {
696 Configuration testSubject;
697 Map<String, Object> result;
700 testSubject = createTestSubject();
701 result = testSubject.getInformationalResourceArtifacts();
706 public void testSetInformationalResourceArtifacts() throws Exception {
707 Configuration testSubject;
708 Map<String, Object> informationalResourceArtifacts = null;
711 testSubject = createTestSubject();
712 testSubject.setInformationalResourceArtifacts(informationalResourceArtifacts);
717 public void testGetInformationalServiceArtifacts() throws Exception {
718 Configuration testSubject;
719 Map<String, Object> result;
722 testSubject = createTestSubject();
723 result = testSubject.getInformationalServiceArtifacts();
728 public void testSetInformationalServiceArtifacts() throws Exception {
729 Configuration testSubject;
730 Map<String, Object> informationalServiceArtifacts = null;
733 testSubject = createTestSubject();
734 testSubject.setInformationalServiceArtifacts(informationalServiceArtifacts);
739 public void testGetServiceApiArtifacts() throws Exception {
740 Configuration testSubject;
741 Map<String, Object> result;
744 testSubject = createTestSubject();
745 result = testSubject.getServiceApiArtifacts();
750 public void testSetServiceApiArtifacts() throws Exception {
751 Configuration testSubject;
752 Map<String, Object> serviceApiArtifacts = null;
755 testSubject = createTestSubject();
756 testSubject.setServiceApiArtifacts(serviceApiArtifacts);
761 public void testGetServiceDeploymentArtifacts() throws Exception {
762 Configuration testSubject;
763 Map<String, ArtifactTypeConfig> result;
766 testSubject = createTestSubject();
767 result = testSubject.getServiceDeploymentArtifacts();
772 public void testSetServiceDeploymentArtifacts() throws Exception {
773 Configuration testSubject;
774 Map<String, ArtifactTypeConfig> serviceDeploymentArtifacts = null;
777 testSubject = createTestSubject();
778 testSubject.setServiceDeploymentArtifacts(serviceDeploymentArtifacts);
783 public void testGetResourceDeploymentArtifacts() throws Exception {
784 Configuration testSubject;
785 Map<String, ArtifactTypeConfig> result;
788 testSubject = createTestSubject();
789 result = testSubject.getResourceDeploymentArtifacts();
794 public void testSetResourceDeploymentArtifacts() throws Exception {
795 Configuration testSubject;
796 Map<String, ArtifactTypeConfig> resourceDeploymentArtifacts = null;
799 testSubject = createTestSubject();
800 testSubject.setResourceDeploymentArtifacts(resourceDeploymentArtifacts);
805 public void testSetResourceInstanceDeploymentArtifacts() throws Exception {
806 Configuration testSubject;
807 Map<String, ArtifactTypeConfig> resourceInstanceDeploymentArtifacts = null;
810 testSubject = createTestSubject();
811 testSubject.setResourceInstanceDeploymentArtifacts(resourceInstanceDeploymentArtifacts);
816 public void testGetResourceInstanceDeploymentArtifacts() throws Exception {
817 Configuration testSubject;
818 Map<String, ArtifactTypeConfig> result;
821 testSubject = createTestSubject();
822 result = testSubject.getResourceInstanceDeploymentArtifacts();
827 public void testGetExcludeServiceCategory() throws Exception {
828 Configuration testSubject;
832 testSubject = createTestSubject();
833 result = testSubject.getExcludeServiceCategory();
838 public void testSetExcludeServiceCategory() throws Exception {
839 Configuration testSubject;
840 List<String> excludeServiceCategory = null;
843 testSubject = createTestSubject();
844 testSubject.setExcludeServiceCategory(excludeServiceCategory);
849 public void testGetLicenseTypes() throws Exception {
850 Configuration testSubject;
854 testSubject = createTestSubject();
855 result = testSubject.getLicenseTypes();
860 public void testSetLicenseTypes() throws Exception {
861 Configuration testSubject;
862 List<String> licenseTypes = null;
865 testSubject = createTestSubject();
866 testSubject.setLicenseTypes(licenseTypes);
871 public void testGetAdditionalInformationMaxNumberOfKeys() throws Exception {
872 Configuration testSubject;
876 testSubject = createTestSubject();
877 result = testSubject.getAdditionalInformationMaxNumberOfKeys();
882 public void testSetAdditionalInformationMaxNumberOfKeys() throws Exception {
883 Configuration testSubject;
884 Integer additionalInformationMaxNumberOfKeys = 0;
887 testSubject = createTestSubject();
888 testSubject.setAdditionalInformationMaxNumberOfKeys(additionalInformationMaxNumberOfKeys);
893 public void testGetSystemMonitoring() throws Exception {
894 Configuration testSubject;
895 BeMonitoringConfig result;
898 testSubject = createTestSubject();
899 result = testSubject.getSystemMonitoring();
904 public void testSetSystemMonitoring() throws Exception {
905 Configuration testSubject;
906 BeMonitoringConfig systemMonitoring = null;
909 testSubject = createTestSubject();
910 testSubject.setSystemMonitoring(systemMonitoring);
915 public void testGetDefaultHeatArtifactTimeoutMinutes() throws Exception {
916 Configuration testSubject;
920 testSubject = createTestSubject();
921 result = testSubject.getDefaultHeatArtifactTimeoutMinutes();
926 public void testSetDefaultHeatArtifactTimeoutMinutes() throws Exception {
927 Configuration testSubject;
928 Integer defaultHeatArtifactTimeoutMinutes = 0;
931 testSubject = createTestSubject();
932 testSubject.setDefaultHeatArtifactTimeoutMinutes(defaultHeatArtifactTimeoutMinutes);
937 public void testGetUebHealthCheckReconnectIntervalInSeconds() throws Exception {
938 Configuration testSubject;
942 testSubject = createTestSubject();
943 result = testSubject.getUebHealthCheckReconnectIntervalInSeconds();
948 public void testSetUebHealthCheckReconnectIntervalInSeconds() throws Exception {
949 Configuration testSubject;
950 Long uebHealthCheckReconnectIntervalInSeconds = null;
953 testSubject = createTestSubject();
954 testSubject.setUebHealthCheckReconnectIntervalInSeconds(uebHealthCheckReconnectIntervalInSeconds);
959 public void testGetUebHealthCheckReadTimeout() throws Exception {
960 Configuration testSubject;
964 testSubject = createTestSubject();
965 result = testSubject.getUebHealthCheckReadTimeout();
970 public void testSetUebHealthCheckReadTimeout() throws Exception {
971 Configuration testSubject;
972 Long uebHealthCheckReadTimeout = null;
975 testSubject = createTestSubject();
976 testSubject.setUebHealthCheckReadTimeout(uebHealthCheckReadTimeout);
981 public void testGetCleanComponentsConfiguration() throws Exception {
982 Configuration testSubject;
983 CleanComponentsConfiguration result;
986 testSubject = createTestSubject();
987 result = testSubject.getCleanComponentsConfiguration();
992 public void testSetCleanComponentsConfiguration() throws Exception {
993 Configuration testSubject;
994 CleanComponentsConfiguration cleanComponentsConfiguration = null;
997 testSubject = createTestSubject();
998 testSubject.setCleanComponentsConfiguration(cleanComponentsConfiguration);
1003 public void testToString() throws Exception {
1004 Configuration testSubject;
1008 testSubject = createTestSubject();
1009 result = testSubject.toString();
1014 public void testGetUnLoggedUrls() throws Exception {
1015 Configuration testSubject;
1016 List<String> result;
1019 testSubject = createTestSubject();
1020 result = testSubject.getUnLoggedUrls();
1025 public void testSetUnLoggedUrls() throws Exception {
1026 Configuration testSubject;
1027 List<String> unLoggedUrls = null;
1030 testSubject = createTestSubject();
1031 testSubject.setUnLoggedUrls(unLoggedUrls);
1036 public void testGetDeploymentResourceArtifacts() throws Exception {
1037 Configuration testSubject;
1038 Map<String, Object> result;
1041 testSubject = createTestSubject();
1042 result = testSubject.getDeploymentResourceArtifacts();
1047 public void testSetDeploymentResourceArtifacts() throws Exception {
1048 Configuration testSubject;
1049 Map<String, Object> deploymentResourceArtifacts = null;
1052 testSubject = createTestSubject();
1053 testSubject.setDeploymentResourceArtifacts(deploymentResourceArtifacts);
1058 public void testGetHeatEnvArtifactHeader() throws Exception {
1059 Configuration testSubject;
1063 testSubject = createTestSubject();
1064 result = testSubject.getHeatEnvArtifactHeader();
1069 public void testSetHeatEnvArtifactHeader() throws Exception {
1070 Configuration testSubject;
1071 String heatEnvArtifactHeader = "";
1074 testSubject = createTestSubject();
1075 testSubject.setHeatEnvArtifactHeader(heatEnvArtifactHeader);
1080 public void testGetHeatEnvArtifactFooter() throws Exception {
1081 Configuration testSubject;
1085 testSubject = createTestSubject();
1086 result = testSubject.getHeatEnvArtifactFooter();
1091 public void testSetHeatEnvArtifactFooter() throws Exception {
1092 Configuration testSubject;
1093 String heatEnvArtifactFooter = "";
1096 testSubject = createTestSubject();
1097 testSubject.setHeatEnvArtifactFooter(heatEnvArtifactFooter);
1102 public void testGetDeploymentResourceInstanceArtifacts() throws Exception {
1103 Configuration testSubject;
1104 Map<String, Object> result;
1107 testSubject = createTestSubject();
1108 result = testSubject.getDeploymentResourceInstanceArtifacts();
1113 public void testSetDeploymentResourceInstanceArtifacts() throws Exception {
1114 Configuration testSubject;
1115 Map<String, Object> deploymentResourceInstanceArtifacts = null;
1118 testSubject = createTestSubject();
1119 testSubject.setDeploymentResourceInstanceArtifacts(deploymentResourceInstanceArtifacts);
1124 public void testGetArtifactsIndex() throws Exception {
1125 Configuration testSubject;
1129 testSubject = createTestSubject();
1130 result = testSubject.getArtifactsIndex();
1135 public void testSetArtifactsIndex() throws Exception {
1136 Configuration testSubject;
1137 String artifactsIndex = "";
1140 testSubject = createTestSubject();
1141 testSubject.setArtifactsIndex(artifactsIndex);
1146 public void testGetResourceInformationalDeployedArtifacts() throws Exception {
1147 Configuration testSubject;
1148 Map<String, ArtifactTypeConfig> result;
1151 testSubject = createTestSubject();
1152 result = testSubject.getResourceInformationalDeployedArtifacts();
1157 public void testSetResourceInformationalDeployedArtifacts() throws Exception {
1158 Configuration testSubject;
1159 Map<String, ArtifactTypeConfig> resourceInformationalDeployedArtifacts = null;
1162 testSubject = createTestSubject();
1163 testSubject.setResourceInformationalDeployedArtifacts(resourceInformationalDeployedArtifacts);
1168 public void testGetResourceTypes() throws Exception {
1169 Configuration testSubject;
1170 List<String> result;
1173 testSubject = createTestSubject();
1174 result = testSubject.getResourceTypes();
1179 public void testSetResourceTypes() throws Exception {
1180 Configuration testSubject;
1181 List<String> resourceTypes = null;
1184 testSubject = createTestSubject();
1185 testSubject.setResourceTypes(resourceTypes);
1190 public void testGetToscaFilesDir() throws Exception {
1191 Configuration testSubject;
1195 testSubject = createTestSubject();
1196 result = testSubject.getToscaFilesDir();
1201 public void testSetToscaFilesDir() throws Exception {
1202 Configuration testSubject;
1203 String toscaFilesDir = "";
1206 testSubject = createTestSubject();
1207 testSubject.setToscaFilesDir(toscaFilesDir);
1212 public void testGetHeatTranslatorPath() throws Exception {
1213 Configuration testSubject;
1217 testSubject = createTestSubject();
1218 result = testSubject.getHeatTranslatorPath();
1223 public void testSetHeatTranslatorPath() throws Exception {
1224 Configuration testSubject;
1225 String heatTranslatorPath = "";
1228 testSubject = createTestSubject();
1229 testSubject.setHeatTranslatorPath(heatTranslatorPath);
1234 public void testGetRequirementsToFulfillBeforeCert() throws Exception {
1235 Configuration testSubject;
1236 Map<String, Set<String>> result;
1239 testSubject = createTestSubject();
1240 result = testSubject.getRequirementsToFulfillBeforeCert();
1245 public void testSetRequirementsToFulfillBeforeCert() throws Exception {
1246 Configuration testSubject;
1247 Map<String, Set<String>> requirementsToFulfillBeforeCert = null;
1250 testSubject = createTestSubject();
1251 testSubject.setRequirementsToFulfillBeforeCert(requirementsToFulfillBeforeCert);
1256 public void testGetCapabilitiesToConsumeBeforeCert() throws Exception {
1257 Configuration testSubject;
1258 Map<String, Set<String>> result;
1261 testSubject = createTestSubject();
1262 result = testSubject.getCapabilitiesToConsumeBeforeCert();
1267 public void testSetCapabilitiesToConsumeBeforeCert() throws Exception {
1268 Configuration testSubject;
1269 Map<String, Set<String>> capabilitiesToConsumeBeforeCert = null;
1272 testSubject = createTestSubject();
1273 testSubject.setCapabilitiesToConsumeBeforeCert(capabilitiesToConsumeBeforeCert);
1278 public void testGetOnboarding() throws Exception {
1279 Configuration testSubject;
1280 OnboardingConfig result;
1283 testSubject = createTestSubject();
1284 result = testSubject.getOnboarding();
1289 public void testSetOnboarding() throws Exception {
1290 Configuration testSubject;
1291 OnboardingConfig onboarding = null;
1294 testSubject = createTestSubject();
1295 testSubject.setOnboarding(onboarding);
1300 public void testGetEcompPortal() throws Exception {
1301 Configuration testSubject;
1302 EcompPortalConfig result;
1305 testSubject = createTestSubject();
1306 result = testSubject.getEcompPortal();
1311 public void testSetEcompPortal() throws Exception {
1312 Configuration testSubject;
1313 EcompPortalConfig ecompPortal = null;
1316 testSubject = createTestSubject();
1317 testSubject.setEcompPortal(ecompPortal);
1322 public void testGetToscaValidators() throws Exception {
1323 Configuration testSubject;
1324 ToscaValidatorsConfig result;
1327 testSubject = createTestSubject();
1328 result = testSubject.getToscaValidators();
1333 public void testSetToscaValidators() throws Exception {
1334 Configuration testSubject;
1335 ToscaValidatorsConfig toscaValidators = null;
1338 testSubject = createTestSubject();
1339 testSubject.setToscaValidators(toscaValidators);
1344 public void testIsDisableAudit() throws Exception {
1345 Configuration testSubject;
1349 testSubject = createTestSubject();
1350 result = testSubject.isDisableAudit();
1355 public void testSetDisableAudit() throws Exception {
1356 Configuration testSubject;
1357 boolean enableAudit = false;
1360 testSubject = createTestSubject();
1361 testSubject.setDisableAudit(enableAudit);
1366 public void testGetResourceInformationalArtifacts() throws Exception {
1367 Configuration testSubject;
1368 Map<String, ArtifactTypeConfig> result;
1371 testSubject = createTestSubject();
1372 result = testSubject.getResourceInformationalArtifacts();
1377 public void testSetResourceInformationalArtifacts() throws Exception {
1378 Configuration testSubject;
1379 Map<String, ArtifactTypeConfig> resourceInformationalArtifacts = null;
1382 testSubject = createTestSubject();
1383 testSubject.setResourceInformationalArtifacts(resourceInformationalArtifacts);
1388 public void testGetVfModuleProperties() throws Exception {
1389 Configuration testSubject;
1390 Map<String, VfModuleProperty> result;
1393 testSubject = createTestSubject();
1394 result = testSubject.getVfModuleProperties();
1399 public void testSetVfModuleProperties() throws Exception {
1400 Configuration testSubject;
1401 Map<String, VfModuleProperty> vfModuleProperties = null;
1404 testSubject = createTestSubject();
1405 testSubject.setVfModuleProperties(vfModuleProperties);
1410 public void testGetToscaConformanceLevel() throws Exception {
1411 Configuration testSubject;
1415 testSubject = createTestSubject();
1416 result = testSubject.getToscaConformanceLevel();
1421 public void testSetToscaConformanceLevel() throws Exception {
1422 Configuration testSubject;
1423 String toscaConformanceLevel = "";
1426 testSubject = createTestSubject();
1427 testSubject.setToscaConformanceLevel(toscaConformanceLevel);
1432 public void testGetMinToscaConformanceLevel() throws Exception {
1433 Configuration testSubject;
1437 testSubject = createTestSubject();
1438 result = testSubject.getMinToscaConformanceLevel();
1443 public void testSetMinToscaConformanceLevel() throws Exception {
1444 Configuration testSubject;
1445 String toscaConformanceLevel = "";
1448 testSubject = createTestSubject();
1449 testSubject.setMinToscaConformanceLevel(toscaConformanceLevel);
1454 public void testGetDefaultImports() throws Exception {
1455 Configuration testSubject;
1456 List<Map<String, Map<String, String>>> result;
1459 testSubject = createTestSubject();
1460 result = testSubject.getDefaultImports();
1465 public void testSetDefaultImports() throws Exception {
1466 Configuration testSubject;
1467 LinkedList<Map<String, Map<String, String>>> defaultImports = null;
1470 testSubject = createTestSubject();
1471 testSubject.setDefaultImports(defaultImports);