1 package org.openecomp.sdc.be.config;
4 import java.util.LinkedList;
10 import org.openecomp.sdc.be.config.Configuration.ApplicationL1CacheConfig;
11 import org.openecomp.sdc.be.config.Configuration.ApplicationL2CacheConfig;
12 import org.openecomp.sdc.be.config.Configuration.ArtifactTypeConfig;
13 import org.openecomp.sdc.be.config.Configuration.BeMonitoringConfig;
14 import org.openecomp.sdc.be.config.Configuration.CassandrConfig;
15 import org.openecomp.sdc.be.config.Configuration.EcompPortalConfig;
16 import org.openecomp.sdc.be.config.Configuration.ElasticSearchConfig;
17 import org.openecomp.sdc.be.config.Configuration.OnboardingConfig;
18 import org.openecomp.sdc.be.config.Configuration.SwitchoverDetectorConfig;
19 import org.openecomp.sdc.be.config.Configuration.ToscaValidatorsConfig;
20 import org.openecomp.sdc.be.config.Configuration.VfModuleProperty;
23 public class ConfigurationTest {
25 private Configuration createTestSubject() {
26 return new Configuration();
31 public void testGetGenericAssetNodeTypes() throws Exception {
32 Configuration testSubject;
33 Map<String, String> result;
36 testSubject = createTestSubject();
37 result = testSubject.getGenericAssetNodeTypes();
42 public void testSetGenericAssetNodeTypes() throws Exception {
43 Configuration testSubject;
44 Map<String, String> genericAssetNodeTypes = null;
47 testSubject = createTestSubject();
48 testSubject.setGenericAssetNodeTypes(genericAssetNodeTypes);
53 public void testGetSwitchoverDetector() throws Exception {
54 Configuration testSubject;
55 SwitchoverDetectorConfig result;
58 testSubject = createTestSubject();
59 result = testSubject.getSwitchoverDetector();
64 public void testSetSwitchoverDetector() throws Exception {
65 Configuration testSubject;
66 SwitchoverDetectorConfig switchoverDetector = null;
69 testSubject = createTestSubject();
70 testSubject.setSwitchoverDetector(switchoverDetector);
75 public void testGetApplicationL1Cache() throws Exception {
76 Configuration testSubject;
77 ApplicationL1CacheConfig result;
80 testSubject = createTestSubject();
81 result = testSubject.getApplicationL1Cache();
86 public void testSetApplicationL1Cache() throws Exception {
87 Configuration testSubject;
88 ApplicationL1CacheConfig applicationL1Cache = null;
91 testSubject = createTestSubject();
92 testSubject.setApplicationL1Cache(applicationL1Cache);
97 public void testGetApplicationL2Cache() throws Exception {
98 Configuration testSubject;
99 ApplicationL2CacheConfig result;
102 testSubject = createTestSubject();
103 result = testSubject.getApplicationL2Cache();
108 public void testSetApplicationL2Cache() throws Exception {
109 Configuration testSubject;
110 ApplicationL2CacheConfig applicationL2Cache = null;
113 testSubject = createTestSubject();
114 testSubject.setApplicationL2Cache(applicationL2Cache);
119 public void testGetCassandraConfig() throws Exception {
120 Configuration testSubject;
121 CassandrConfig result;
124 testSubject = createTestSubject();
125 result = testSubject.getCassandraConfig();
130 public void testSetCassandraConfig() throws Exception {
131 Configuration testSubject;
132 CassandrConfig cassandraKeySpace = null;
135 testSubject = createTestSubject();
136 testSubject.setCassandraConfig(cassandraKeySpace);
141 public void testGetIdentificationHeaderFields() throws Exception {
142 Configuration testSubject;
146 testSubject = createTestSubject();
147 result = testSubject.getIdentificationHeaderFields();
152 public void testSetIdentificationHeaderFields() throws Exception {
153 Configuration testSubject;
154 List<String> identificationHeaderFields = null;
157 testSubject = createTestSubject();
158 testSubject.setIdentificationHeaderFields(identificationHeaderFields);
163 public void testGetReleased() throws Exception {
164 Configuration testSubject;
168 testSubject = createTestSubject();
169 result = testSubject.getReleased();
174 public void testGetVersion() throws Exception {
175 Configuration testSubject;
179 testSubject = createTestSubject();
180 result = testSubject.getVersion();
185 public void testSetReleased() throws Exception {
186 Configuration testSubject;
187 Date released = null;
190 testSubject = createTestSubject();
191 testSubject.setReleased(released);
196 public void testSetVersion() throws Exception {
197 Configuration testSubject;
201 testSubject = createTestSubject();
202 testSubject.setVersion(version);
207 public void testGetProtocols() throws Exception {
208 Configuration testSubject;
212 testSubject = createTestSubject();
213 result = testSubject.getProtocols();
218 public void testSetProtocols() throws Exception {
219 Configuration testSubject;
220 List<String> protocols = null;
223 testSubject = createTestSubject();
224 testSubject.setProtocols(protocols);
229 public void testGetUsers() throws Exception {
230 Configuration testSubject;
231 Map<String, String> result;
234 testSubject = createTestSubject();
235 result = testSubject.getUsers();
240 public void testSetUsers() throws Exception {
241 Configuration testSubject;
242 Map<String, String> users = null;
245 testSubject = createTestSubject();
246 testSubject.setUsers(users);
251 public void testGetBeFqdn() throws Exception {
252 Configuration testSubject;
256 testSubject = createTestSubject();
257 result = testSubject.getBeFqdn();
262 public void testSetBeFqdn() throws Exception {
263 Configuration testSubject;
267 testSubject = createTestSubject();
268 testSubject.setBeFqdn(beHost);
273 public void testGetBeHttpPort() throws Exception {
274 Configuration testSubject;
278 testSubject = createTestSubject();
279 result = testSubject.getBeHttpPort();
284 public void testSetBeHttpPort() throws Exception {
285 Configuration testSubject;
286 Integer beHttpPort = 0;
289 testSubject = createTestSubject();
290 testSubject.setBeHttpPort(beHttpPort);
295 public void testGetBeSslPort() throws Exception {
296 Configuration testSubject;
300 testSubject = createTestSubject();
301 result = testSubject.getBeSslPort();
306 public void testSetBeSslPort() throws Exception {
307 Configuration testSubject;
308 Integer beSslPort = 0;
311 testSubject = createTestSubject();
312 testSubject.setBeSslPort(beSslPort);
317 public void testGetBeContext() throws Exception {
318 Configuration testSubject;
322 testSubject = createTestSubject();
323 result = testSubject.getBeContext();
328 public void testSetBeContext() throws Exception {
329 Configuration testSubject;
330 String beContext = "";
333 testSubject = createTestSubject();
334 testSubject.setBeContext(beContext);
339 public void testGetBeProtocol() throws Exception {
340 Configuration testSubject;
344 testSubject = createTestSubject();
345 result = testSubject.getBeProtocol();
350 public void testSetBeProtocol() throws Exception {
351 Configuration testSubject;
352 String beProtocol = "";
355 testSubject = createTestSubject();
356 testSubject.setBeProtocol(beProtocol);
361 public void testGetNeo4j() throws Exception {
362 Configuration testSubject;
363 Map<String, Object> result;
366 testSubject = createTestSubject();
367 result = testSubject.getNeo4j();
372 public void testSetNeo4j() throws Exception {
373 Configuration testSubject;
374 Map<String, Object> neo4j = null;
377 testSubject = createTestSubject();
378 testSubject.setNeo4j(neo4j);
383 public void testGetElasticSearch() throws Exception {
384 Configuration testSubject;
385 ElasticSearchConfig result;
388 testSubject = createTestSubject();
389 result = testSubject.getElasticSearch();
394 public void testSetElasticSearch() throws Exception {
395 Configuration testSubject;
396 ElasticSearchConfig elasticSearch = null;
399 testSubject = createTestSubject();
400 testSubject.setElasticSearch(elasticSearch);
405 public void testGetTitanCfgFile() throws Exception {
406 Configuration testSubject;
410 testSubject = createTestSubject();
411 result = testSubject.getTitanCfgFile();
416 public void testSetTitanCfgFile() throws Exception {
417 Configuration testSubject;
418 String titanCfgFile = "";
421 testSubject = createTestSubject();
422 testSubject.setTitanCfgFile(titanCfgFile);
427 public void testGetTitanMigrationKeySpaceCfgFile() throws Exception {
428 Configuration testSubject;
432 testSubject = createTestSubject();
433 result = testSubject.getTitanMigrationKeySpaceCfgFile();
438 public void testSetTitanMigrationKeySpaceCfgFile() throws Exception {
439 Configuration testSubject;
440 String titanMigrationKeySpaceCfgFile = "";
443 testSubject = createTestSubject();
444 testSubject.setTitanMigrationKeySpaceCfgFile(titanMigrationKeySpaceCfgFile);
449 public void testGetTitanInMemoryGraph() throws Exception {
450 Configuration testSubject;
454 testSubject = createTestSubject();
455 result = testSubject.getTitanInMemoryGraph();
460 public void testSetTitanInMemoryGraph() throws Exception {
461 Configuration testSubject;
462 Boolean titanInMemoryGraph = null;
465 testSubject = createTestSubject();
466 testSubject.setTitanInMemoryGraph(titanInMemoryGraph);
471 public void testGetStartMigrationFrom() throws Exception {
472 Configuration testSubject;
476 testSubject = createTestSubject();
477 result = testSubject.getStartMigrationFrom();
482 public void testSetStartMigrationFrom() throws Exception {
483 Configuration testSubject;
484 int startMigrationFrom = 0;
487 testSubject = createTestSubject();
488 testSubject.setStartMigrationFrom(startMigrationFrom);
493 public void testGetTitanLockTimeout() throws Exception {
494 Configuration testSubject;
498 testSubject = createTestSubject();
499 result = testSubject.getTitanLockTimeout();
504 public void testSetTitanLockTimeout() throws Exception {
505 Configuration testSubject;
506 Long titanLockTimeout = null;
509 testSubject = createTestSubject();
510 testSubject.setTitanLockTimeout(titanLockTimeout);
515 public void testGetTitanHealthCheckReadTimeout() throws Exception {
516 Configuration testSubject;
520 testSubject = createTestSubject();
521 result = testSubject.getTitanHealthCheckReadTimeout();
528 public void testSetTitanHealthCheckReadTimeout() throws Exception {
529 Configuration testSubject;
530 Long titanHealthCheckReadTimeout = null;
533 testSubject = createTestSubject();
534 testSubject.setTitanHealthCheckReadTimeout(titanHealthCheckReadTimeout);
539 public void testGetTitanReconnectIntervalInSeconds() throws Exception {
540 Configuration testSubject;
544 testSubject = createTestSubject();
545 result = testSubject.getTitanReconnectIntervalInSeconds();
552 public void testSetTitanReconnectIntervalInSeconds() throws Exception {
553 Configuration testSubject;
554 Long titanReconnectIntervalInSeconds = null;
557 testSubject = createTestSubject();
558 testSubject.setTitanReconnectIntervalInSeconds(titanReconnectIntervalInSeconds);
563 public void testGetEsReconnectIntervalInSeconds() throws Exception {
564 Configuration testSubject;
568 testSubject = createTestSubject();
569 result = testSubject.getEsReconnectIntervalInSeconds();
576 public void testSetEsReconnectIntervalInSeconds() throws Exception {
577 Configuration testSubject;
578 Long esReconnectIntervalInSeconds = null;
581 testSubject = createTestSubject();
582 testSubject.setEsReconnectIntervalInSeconds(esReconnectIntervalInSeconds);
587 public void testGetArtifactTypes() throws Exception {
588 Configuration testSubject;
592 testSubject = createTestSubject();
593 result = testSubject.getArtifactTypes();
598 public void testSetArtifactTypes() throws Exception {
599 Configuration testSubject;
600 List<String> artifactTypes = null;
603 testSubject = createTestSubject();
604 testSubject.setArtifactTypes(artifactTypes);
609 public void testGetExcludeResourceCategory() throws Exception {
610 Configuration testSubject;
614 testSubject = createTestSubject();
615 result = testSubject.getExcludeResourceCategory();
620 public void testSetExcludeResourceCategory() throws Exception {
621 Configuration testSubject;
622 List<String> excludeResourceCategory = null;
625 testSubject = createTestSubject();
626 testSubject.setExcludeResourceCategory(excludeResourceCategory);
631 public void testGetExcludeResourceType() throws Exception {
632 Configuration testSubject;
636 testSubject = createTestSubject();
637 result = testSubject.getExcludeResourceType();
642 public void testSetExcludeResourceType() throws Exception {
643 Configuration testSubject;
644 List<String> excludeResourceType = null;
647 testSubject = createTestSubject();
648 testSubject.setExcludeResourceType(excludeResourceType);
653 public void testGetToscaArtifacts() throws Exception {
654 Configuration testSubject;
655 Map<String, Object> result;
658 testSubject = createTestSubject();
659 result = testSubject.getToscaArtifacts();
664 public void testSetToscaArtifacts() throws Exception {
665 Configuration testSubject;
666 Map<String, Object> toscaArtifacts = null;
669 testSubject = createTestSubject();
670 testSubject.setToscaArtifacts(toscaArtifacts);
675 public void testGetInformationalResourceArtifacts() throws Exception {
676 Configuration testSubject;
677 Map<String, Object> result;
680 testSubject = createTestSubject();
681 result = testSubject.getInformationalResourceArtifacts();
686 public void testSetInformationalResourceArtifacts() throws Exception {
687 Configuration testSubject;
688 Map<String, Object> informationalResourceArtifacts = null;
691 testSubject = createTestSubject();
692 testSubject.setInformationalResourceArtifacts(informationalResourceArtifacts);
697 public void testGetInformationalServiceArtifacts() throws Exception {
698 Configuration testSubject;
699 Map<String, Object> result;
702 testSubject = createTestSubject();
703 result = testSubject.getInformationalServiceArtifacts();
708 public void testSetInformationalServiceArtifacts() throws Exception {
709 Configuration testSubject;
710 Map<String, Object> informationalServiceArtifacts = null;
713 testSubject = createTestSubject();
714 testSubject.setInformationalServiceArtifacts(informationalServiceArtifacts);
719 public void testGetServiceApiArtifacts() throws Exception {
720 Configuration testSubject;
721 Map<String, Object> result;
724 testSubject = createTestSubject();
725 result = testSubject.getServiceApiArtifacts();
730 public void testSetServiceApiArtifacts() throws Exception {
731 Configuration testSubject;
732 Map<String, Object> serviceApiArtifacts = null;
735 testSubject = createTestSubject();
736 testSubject.setServiceApiArtifacts(serviceApiArtifacts);
741 public void testGetServiceDeploymentArtifacts() throws Exception {
742 Configuration testSubject;
743 Map<String, ArtifactTypeConfig> result;
746 testSubject = createTestSubject();
747 result = testSubject.getServiceDeploymentArtifacts();
752 public void testSetServiceDeploymentArtifacts() throws Exception {
753 Configuration testSubject;
754 Map<String, ArtifactTypeConfig> serviceDeploymentArtifacts = null;
757 testSubject = createTestSubject();
758 testSubject.setServiceDeploymentArtifacts(serviceDeploymentArtifacts);
763 public void testGetResourceDeploymentArtifacts() throws Exception {
764 Configuration testSubject;
765 Map<String, ArtifactTypeConfig> result;
768 testSubject = createTestSubject();
769 result = testSubject.getResourceDeploymentArtifacts();
774 public void testSetResourceDeploymentArtifacts() throws Exception {
775 Configuration testSubject;
776 Map<String, ArtifactTypeConfig> resourceDeploymentArtifacts = null;
779 testSubject = createTestSubject();
780 testSubject.setResourceDeploymentArtifacts(resourceDeploymentArtifacts);
785 public void testSetResourceInstanceDeploymentArtifacts() throws Exception {
786 Configuration testSubject;
787 Map<String, ArtifactTypeConfig> resourceInstanceDeploymentArtifacts = null;
790 testSubject = createTestSubject();
791 testSubject.setResourceInstanceDeploymentArtifacts(resourceInstanceDeploymentArtifacts);
796 public void testGetResourceInstanceDeploymentArtifacts() throws Exception {
797 Configuration testSubject;
798 Map<String, ArtifactTypeConfig> result;
801 testSubject = createTestSubject();
802 result = testSubject.getResourceInstanceDeploymentArtifacts();
807 public void testGetExcludeServiceCategory() throws Exception {
808 Configuration testSubject;
812 testSubject = createTestSubject();
813 result = testSubject.getExcludeServiceCategory();
818 public void testSetExcludeServiceCategory() throws Exception {
819 Configuration testSubject;
820 List<String> excludeServiceCategory = null;
823 testSubject = createTestSubject();
824 testSubject.setExcludeServiceCategory(excludeServiceCategory);
829 public void testGetLicenseTypes() throws Exception {
830 Configuration testSubject;
834 testSubject = createTestSubject();
835 result = testSubject.getLicenseTypes();
840 public void testSetLicenseTypes() throws Exception {
841 Configuration testSubject;
842 List<String> licenseTypes = null;
845 testSubject = createTestSubject();
846 testSubject.setLicenseTypes(licenseTypes);
851 public void testGetAdditionalInformationMaxNumberOfKeys() throws Exception {
852 Configuration testSubject;
856 testSubject = createTestSubject();
857 result = testSubject.getAdditionalInformationMaxNumberOfKeys();
862 public void testSetAdditionalInformationMaxNumberOfKeys() throws Exception {
863 Configuration testSubject;
864 Integer additionalInformationMaxNumberOfKeys = 0;
867 testSubject = createTestSubject();
868 testSubject.setAdditionalInformationMaxNumberOfKeys(additionalInformationMaxNumberOfKeys);
873 public void testGetSystemMonitoring() throws Exception {
874 Configuration testSubject;
875 BeMonitoringConfig result;
878 testSubject = createTestSubject();
879 result = testSubject.getSystemMonitoring();
884 public void testSetSystemMonitoring() throws Exception {
885 Configuration testSubject;
886 BeMonitoringConfig systemMonitoring = null;
889 testSubject = createTestSubject();
890 testSubject.setSystemMonitoring(systemMonitoring);
895 public void testGetDefaultHeatArtifactTimeoutMinutes() throws Exception {
896 Configuration testSubject;
900 testSubject = createTestSubject();
901 result = testSubject.getDefaultHeatArtifactTimeoutMinutes();
906 public void testSetDefaultHeatArtifactTimeoutMinutes() throws Exception {
907 Configuration testSubject;
908 Integer defaultHeatArtifactTimeoutMinutes = 0;
911 testSubject = createTestSubject();
912 testSubject.setDefaultHeatArtifactTimeoutMinutes(defaultHeatArtifactTimeoutMinutes);
917 public void testGetUebHealthCheckReconnectIntervalInSeconds() throws Exception {
918 Configuration testSubject;
922 testSubject = createTestSubject();
923 result = testSubject.getUebHealthCheckReconnectIntervalInSeconds();
928 public void testSetUebHealthCheckReconnectIntervalInSeconds() throws Exception {
929 Configuration testSubject;
930 Long uebHealthCheckReconnectIntervalInSeconds = null;
933 testSubject = createTestSubject();
934 testSubject.setUebHealthCheckReconnectIntervalInSeconds(uebHealthCheckReconnectIntervalInSeconds);
939 public void testGetUebHealthCheckReadTimeout() throws Exception {
940 Configuration testSubject;
944 testSubject = createTestSubject();
945 result = testSubject.getUebHealthCheckReadTimeout();
950 public void testSetUebHealthCheckReadTimeout() throws Exception {
951 Configuration testSubject;
952 Long uebHealthCheckReadTimeout = null;
955 testSubject = createTestSubject();
956 testSubject.setUebHealthCheckReadTimeout(uebHealthCheckReadTimeout);
961 public void testGetCleanComponentsConfiguration() throws Exception {
962 Configuration testSubject;
963 CleanComponentsConfiguration result;
966 testSubject = createTestSubject();
967 result = testSubject.getCleanComponentsConfiguration();
972 public void testSetCleanComponentsConfiguration() throws Exception {
973 Configuration testSubject;
974 CleanComponentsConfiguration cleanComponentsConfiguration = null;
977 testSubject = createTestSubject();
978 testSubject.setCleanComponentsConfiguration(cleanComponentsConfiguration);
983 public void testToString() throws Exception {
984 Configuration testSubject;
988 testSubject = createTestSubject();
989 result = testSubject.toString();
994 public void testGetUnLoggedUrls() throws Exception {
995 Configuration testSubject;
999 testSubject = createTestSubject();
1000 result = testSubject.getUnLoggedUrls();
1005 public void testSetUnLoggedUrls() throws Exception {
1006 Configuration testSubject;
1007 List<String> unLoggedUrls = null;
1010 testSubject = createTestSubject();
1011 testSubject.setUnLoggedUrls(unLoggedUrls);
1016 public void testGetDeploymentResourceArtifacts() throws Exception {
1017 Configuration testSubject;
1018 Map<String, Object> result;
1021 testSubject = createTestSubject();
1022 result = testSubject.getDeploymentResourceArtifacts();
1027 public void testSetDeploymentResourceArtifacts() throws Exception {
1028 Configuration testSubject;
1029 Map<String, Object> deploymentResourceArtifacts = null;
1032 testSubject = createTestSubject();
1033 testSubject.setDeploymentResourceArtifacts(deploymentResourceArtifacts);
1038 public void testGetHeatEnvArtifactHeader() throws Exception {
1039 Configuration testSubject;
1043 testSubject = createTestSubject();
1044 result = testSubject.getHeatEnvArtifactHeader();
1049 public void testSetHeatEnvArtifactHeader() throws Exception {
1050 Configuration testSubject;
1051 String heatEnvArtifactHeader = "";
1054 testSubject = createTestSubject();
1055 testSubject.setHeatEnvArtifactHeader(heatEnvArtifactHeader);
1060 public void testGetHeatEnvArtifactFooter() throws Exception {
1061 Configuration testSubject;
1065 testSubject = createTestSubject();
1066 result = testSubject.getHeatEnvArtifactFooter();
1071 public void testSetHeatEnvArtifactFooter() throws Exception {
1072 Configuration testSubject;
1073 String heatEnvArtifactFooter = "";
1076 testSubject = createTestSubject();
1077 testSubject.setHeatEnvArtifactFooter(heatEnvArtifactFooter);
1082 public void testGetDeploymentResourceInstanceArtifacts() throws Exception {
1083 Configuration testSubject;
1084 Map<String, Object> result;
1087 testSubject = createTestSubject();
1088 result = testSubject.getDeploymentResourceInstanceArtifacts();
1093 public void testSetDeploymentResourceInstanceArtifacts() throws Exception {
1094 Configuration testSubject;
1095 Map<String, Object> deploymentResourceInstanceArtifacts = null;
1098 testSubject = createTestSubject();
1099 testSubject.setDeploymentResourceInstanceArtifacts(deploymentResourceInstanceArtifacts);
1104 public void testGetArtifactsIndex() throws Exception {
1105 Configuration testSubject;
1109 testSubject = createTestSubject();
1110 result = testSubject.getArtifactsIndex();
1115 public void testSetArtifactsIndex() throws Exception {
1116 Configuration testSubject;
1117 String artifactsIndex = "";
1120 testSubject = createTestSubject();
1121 testSubject.setArtifactsIndex(artifactsIndex);
1126 public void testGetResourceInformationalDeployedArtifacts() throws Exception {
1127 Configuration testSubject;
1128 Map<String, ArtifactTypeConfig> result;
1131 testSubject = createTestSubject();
1132 result = testSubject.getResourceInformationalDeployedArtifacts();
1137 public void testSetResourceInformationalDeployedArtifacts() throws Exception {
1138 Configuration testSubject;
1139 Map<String, ArtifactTypeConfig> resourceInformationalDeployedArtifacts = null;
1142 testSubject = createTestSubject();
1143 testSubject.setResourceInformationalDeployedArtifacts(resourceInformationalDeployedArtifacts);
1148 public void testGetResourceTypes() throws Exception {
1149 Configuration testSubject;
1150 List<String> result;
1153 testSubject = createTestSubject();
1154 result = testSubject.getResourceTypes();
1159 public void testSetResourceTypes() throws Exception {
1160 Configuration testSubject;
1161 List<String> resourceTypes = null;
1164 testSubject = createTestSubject();
1165 testSubject.setResourceTypes(resourceTypes);
1170 public void testGetToscaFilesDir() throws Exception {
1171 Configuration testSubject;
1175 testSubject = createTestSubject();
1176 result = testSubject.getToscaFilesDir();
1181 public void testSetToscaFilesDir() throws Exception {
1182 Configuration testSubject;
1183 String toscaFilesDir = "";
1186 testSubject = createTestSubject();
1187 testSubject.setToscaFilesDir(toscaFilesDir);
1192 public void testGetHeatTranslatorPath() throws Exception {
1193 Configuration testSubject;
1197 testSubject = createTestSubject();
1198 result = testSubject.getHeatTranslatorPath();
1203 public void testSetHeatTranslatorPath() throws Exception {
1204 Configuration testSubject;
1205 String heatTranslatorPath = "";
1208 testSubject = createTestSubject();
1209 testSubject.setHeatTranslatorPath(heatTranslatorPath);
1214 public void testGetRequirementsToFulfillBeforeCert() throws Exception {
1215 Configuration testSubject;
1216 Map<String, Set<String>> result;
1219 testSubject = createTestSubject();
1220 result = testSubject.getRequirementsToFulfillBeforeCert();
1225 public void testSetRequirementsToFulfillBeforeCert() throws Exception {
1226 Configuration testSubject;
1227 Map<String, Set<String>> requirementsToFulfillBeforeCert = null;
1230 testSubject = createTestSubject();
1231 testSubject.setRequirementsToFulfillBeforeCert(requirementsToFulfillBeforeCert);
1236 public void testGetCapabilitiesToConsumeBeforeCert() throws Exception {
1237 Configuration testSubject;
1238 Map<String, Set<String>> result;
1241 testSubject = createTestSubject();
1242 result = testSubject.getCapabilitiesToConsumeBeforeCert();
1247 public void testSetCapabilitiesToConsumeBeforeCert() throws Exception {
1248 Configuration testSubject;
1249 Map<String, Set<String>> capabilitiesToConsumeBeforeCert = null;
1252 testSubject = createTestSubject();
1253 testSubject.setCapabilitiesToConsumeBeforeCert(capabilitiesToConsumeBeforeCert);
1258 public void testGetOnboarding() throws Exception {
1259 Configuration testSubject;
1260 OnboardingConfig result;
1263 testSubject = createTestSubject();
1264 result = testSubject.getOnboarding();
1269 public void testSetOnboarding() throws Exception {
1270 Configuration testSubject;
1271 OnboardingConfig onboarding = null;
1274 testSubject = createTestSubject();
1275 testSubject.setOnboarding(onboarding);
1280 public void testGetEcompPortal() throws Exception {
1281 Configuration testSubject;
1282 EcompPortalConfig result;
1285 testSubject = createTestSubject();
1286 result = testSubject.getEcompPortal();
1291 public void testSetEcompPortal() throws Exception {
1292 Configuration testSubject;
1293 EcompPortalConfig ecompPortal = null;
1296 testSubject = createTestSubject();
1297 testSubject.setEcompPortal(ecompPortal);
1302 public void testGetToscaValidators() throws Exception {
1303 Configuration testSubject;
1304 ToscaValidatorsConfig result;
1307 testSubject = createTestSubject();
1308 result = testSubject.getToscaValidators();
1313 public void testSetToscaValidators() throws Exception {
1314 Configuration testSubject;
1315 ToscaValidatorsConfig toscaValidators = null;
1318 testSubject = createTestSubject();
1319 testSubject.setToscaValidators(toscaValidators);
1324 public void testIsDisableAudit() throws Exception {
1325 Configuration testSubject;
1329 testSubject = createTestSubject();
1330 result = testSubject.isDisableAudit();
1335 public void testSetDisableAudit() throws Exception {
1336 Configuration testSubject;
1337 boolean enableAudit = false;
1340 testSubject = createTestSubject();
1341 testSubject.setDisableAudit(enableAudit);
1346 public void testGetResourceInformationalArtifacts() throws Exception {
1347 Configuration testSubject;
1348 Map<String, ArtifactTypeConfig> result;
1351 testSubject = createTestSubject();
1352 result = testSubject.getResourceInformationalArtifacts();
1357 public void testSetResourceInformationalArtifacts() throws Exception {
1358 Configuration testSubject;
1359 Map<String, ArtifactTypeConfig> resourceInformationalArtifacts = null;
1362 testSubject = createTestSubject();
1363 testSubject.setResourceInformationalArtifacts(resourceInformationalArtifacts);
1368 public void testGetVfModuleProperties() throws Exception {
1369 Configuration testSubject;
1370 Map<String, VfModuleProperty> result;
1373 testSubject = createTestSubject();
1374 result = testSubject.getVfModuleProperties();
1379 public void testSetVfModuleProperties() throws Exception {
1380 Configuration testSubject;
1381 Map<String, VfModuleProperty> vfModuleProperties = null;
1384 testSubject = createTestSubject();
1385 testSubject.setVfModuleProperties(vfModuleProperties);
1390 public void testGetToscaConformanceLevel() throws Exception {
1391 Configuration testSubject;
1395 testSubject = createTestSubject();
1396 result = testSubject.getToscaConformanceLevel();
1401 public void testSetToscaConformanceLevel() throws Exception {
1402 Configuration testSubject;
1403 String toscaConformanceLevel = "";
1406 testSubject = createTestSubject();
1407 testSubject.setToscaConformanceLevel(toscaConformanceLevel);
1412 public void testGetMinToscaConformanceLevel() throws Exception {
1413 Configuration testSubject;
1417 testSubject = createTestSubject();
1418 result = testSubject.getMinToscaConformanceLevel();
1423 public void testSetMinToscaConformanceLevel() throws Exception {
1424 Configuration testSubject;
1425 String toscaConformanceLevel = "";
1428 testSubject = createTestSubject();
1429 testSubject.setMinToscaConformanceLevel(toscaConformanceLevel);
1434 public void testGetDefaultImports() throws Exception {
1435 Configuration testSubject;
1436 List<Map<String, Map<String, String>>> result;
1439 testSubject = createTestSubject();
1440 result = testSubject.getDefaultImports();
1445 public void testSetDefaultImports() throws Exception {
1446 Configuration testSubject;
1447 LinkedList<Map<String, Map<String, String>>> defaultImports = null;
1450 testSubject = createTestSubject();
1451 testSubject.setDefaultImports(defaultImports);