summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYuli Shlosberg <ys9693@att.com>2017-10-19 10:31:51 +0300
committerYuli Shlosberg <ys9693@att.com>2017-10-22 11:22:00 +0000
commitb32203e7d7b854fff56f99d0c1411252f5c1fe5e (patch)
tree6cdbd08f04981925ec45554afe577fc0553627b9
parent914a63fedde46ac22466bd114f11ba35266fde28 (diff)
add unit tests to sdc components
Change-Id: Ia6b18b223dc79906289f856fee3bf18d75e28232 Issue-Id: SDC-467 Signed-off-by: Yuli Shlosberg <ys9693@att.com> (cherry picked from commit 4bc2f0f7d26f0c8eb1d32c9be97e83070f196abe)
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/enums/SchemaZipFileEnumTest.java123
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManagerTest.java70
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfigurationTest.java275
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/ServiceValidatorExecuterTest.java27
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/TopologyTemplateValidatorExecuterTest.java44
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/VfValidatorExecuterTest.java25
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactsVertexResultTest.java35
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ServiceArtifactValidationTaskTest.java17
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/VfArtifactValidationTaskTest.java18
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ElementTypeEnumTest.java78
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ValidationTaskResultTest.java80
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/VertexResultTest.java46
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/migration/config/MigrationSpringConfigTest.java78
-rw-r--r--asdctool/src/test/java/org/openecomp/sdc/asdctool/migration/core/task/MigrationResultTest.java58
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/be/config/BeEcompErrorManagerTest.java735
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/be/config/CleanComponentsConfigurationTest.java51
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/be/config/ConfigurationTest.java1455
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/be/config/DistributionEngineConfigurationTest.java372
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/be/config/ErrorConfigurationTest.java51
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/be/config/ErrorInfoTest.java110
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/be/config/Neo4jErrorsConfigurationTest.java51
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/be/config/validation/DeploymentArtifactHeatConfigurationTest.java59
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactGroupTypeEnumTest.java56
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactTypeEnumTest.java56
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/api/HealthCheckInfoTest.java114
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/api/ResponseInfoTest.java61
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/api/ToscaNodeTypeInfoTest.java136
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/api/ToscaNodeTypeInterfaceTest.java37
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/api/YamlSuffixEnumTest.java46
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/AuditingFieldsKeysEnumTest.java46
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/ESTimeBasedEventTest.java119
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/MonitoringFieldsKeysEnumTest.java46
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/WrapperTest.java26
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/monitoring/MonitoringEventTest.java244
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestConfigurationInfoTest.java112
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestResponseAsByteArrayTest.java101
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestResponseTest.java90
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/util/CapabilityTypeNameEnumTest.java24
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/util/GeneralUtilityTest.java126
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/util/GsonFactoryTest.java24
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/common/util/ValidationUtilsTest.java605
-rw-r--r--common-app-api/src/test/java/org/openecomp/sdc/fe/config/ConfigurationTest.java543
42 files changed, 6470 insertions, 0 deletions
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/enums/SchemaZipFileEnumTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/enums/SchemaZipFileEnumTest.java
new file mode 100644
index 0000000000..5afabc5639
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/enums/SchemaZipFileEnumTest.java
@@ -0,0 +1,123 @@
+package org.openecomp.sdc.asdctool.enums;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class SchemaZipFileEnumTest {
+
+ private SchemaZipFileEnum createTestSubject() {
+ return SchemaZipFileEnum.DATA;
+ }
+
+
+ @Test
+ public void testGetFileName() throws Exception {
+ SchemaZipFileEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFileName();
+ }
+
+
+ @Test
+ public void testSetFileName() throws Exception {
+ SchemaZipFileEnum testSubject;
+ String fileName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFileName(fileName);
+ }
+
+
+ @Test
+ public void testGetSourceFolderName() throws Exception {
+ SchemaZipFileEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSourceFolderName();
+ }
+
+
+ @Test
+ public void testSetSourceFolderName() throws Exception {
+ SchemaZipFileEnum testSubject;
+ String sourceFolderName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSourceFolderName(sourceFolderName);
+ }
+
+
+ @Test
+ public void testGetSourceFileName() throws Exception {
+ SchemaZipFileEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSourceFileName();
+ }
+
+
+ @Test
+ public void testSetSourceFileName() throws Exception {
+ SchemaZipFileEnum testSubject;
+ String sourceFileName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSourceFileName(sourceFileName);
+ }
+
+
+ @Test
+ public void testGetCollectionTitle() throws Exception {
+ SchemaZipFileEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCollectionTitle();
+ }
+
+
+ @Test
+ public void testSetCollectionTitle() throws Exception {
+ SchemaZipFileEnum testSubject;
+ String collectionTitle = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCollectionTitle(collectionTitle);
+ }
+
+
+ @Test
+ public void testGetImportFileList() throws Exception {
+ SchemaZipFileEnum testSubject;
+ String[] result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getImportFileList();
+ }
+
+
+ @Test
+ public void testSetImportFileList() throws Exception {
+ SchemaZipFileEnum testSubject;
+ String[] importFileList = new String[] { "" };
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setImportFileList(importFileList);
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManagerTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManagerTest.java
new file mode 100644
index 0000000000..775006bfdc
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationConfigManagerTest.java
@@ -0,0 +1,70 @@
+package org.openecomp.sdc.asdctool.impl.validator.config;
+
+import java.util.Properties;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ValidationConfigManagerTest {
+
+ private ValidationConfigManager createTestSubject() {
+ return new ValidationConfigManager();
+ }
+
+
+ @Test
+ public void testGetOutputFilePath() throws Exception {
+ String result;
+
+ // default test
+ result = ValidationConfigManager.getOutputFilePath();
+ }
+
+
+ @Test
+ public void testSetOutputFilePath() throws Exception {
+ String outputPath = "";
+
+ // default test
+ ValidationConfigManager.setOutputFilePath(outputPath);
+ }
+
+
+ @Test
+ public void testGetCsvReportFilePath() throws Exception {
+ String result;
+
+ // default test
+ result = ValidationConfigManager.getCsvReportFilePath();
+ }
+
+
+ @Test
+ public void testSetCsvReportFilePath() throws Exception {
+ String outputPath = "";
+
+ // default test
+ ValidationConfigManager.setCsvReportFilePath(outputPath);
+ }
+
+
+ @Test
+ public void testSetValidationConfiguration() throws Exception {
+ String path = "";
+ Properties result;
+
+ // default test
+ result = ValidationConfigManager.setValidationConfiguration(path);
+ }
+
+
+ @Test
+ public void testGetValidationConfiguration() throws Exception {
+ Properties result;
+
+ // default test
+ result = ValidationConfigManager.getValidationConfiguration();
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfigurationTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfigurationTest.java
new file mode 100644
index 0000000000..f220fa149a
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfigurationTest.java
@@ -0,0 +1,275 @@
+package org.openecomp.sdc.asdctool.impl.validator.config;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.asdctool.impl.validator.ValidationToolBL;
+import org.openecomp.sdc.asdctool.impl.validator.executers.ServiceValidatorExecuter;
+import org.openecomp.sdc.asdctool.impl.validator.executers.VfValidatorExecuter;
+import org.openecomp.sdc.asdctool.impl.validator.tasks.artifacts.ArtifactValidationUtils;
+import org.openecomp.sdc.asdctool.impl.validator.tasks.artifacts.ServiceArtifactValidationTask;
+import org.openecomp.sdc.asdctool.impl.validator.tasks.artifacts.VfArtifactValidationTask;
+import org.openecomp.sdc.asdctool.impl.validator.tasks.moduleJson.ModuleJsonTask;
+import org.openecomp.sdc.asdctool.impl.validator.utils.ReportManager;
+import org.openecomp.sdc.be.dao.TitanClientStrategy;
+import org.openecomp.sdc.be.dao.cassandra.ArtifactCassandraDao;
+import org.openecomp.sdc.be.dao.cassandra.CassandraClient;
+import org.openecomp.sdc.be.dao.jsongraph.TitanDao;
+import org.openecomp.sdc.be.dao.titan.TitanGraphClient;
+import org.openecomp.sdc.be.model.DerivedNodeTypeResolver;
+import org.openecomp.sdc.be.model.jsontitan.operations.ArtifactsOperations;
+import org.openecomp.sdc.be.model.jsontitan.operations.CategoryOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.GroupsOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.NodeTemplateOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.NodeTypeOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.TopologyTemplateOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.ToscaDataOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.ToscaElementLifecycleOperation;
+import org.openecomp.sdc.be.model.jsontitan.operations.ToscaOperationFacade;
+
+
+public class ValidationToolConfigurationTest {
+
+ private ValidationToolConfiguration createTestSubject() {
+ return new ValidationToolConfiguration();
+ }
+
+
+ @Test
+ public void testBasicServiceValidator() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ServiceValidatorExecuter result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.basicServiceValidator();
+ }
+
+
+ @Test
+ public void testVfArtifactValidationTask() throws Exception {
+ ValidationToolConfiguration testSubject;
+ VfArtifactValidationTask result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.vfArtifactValidationTask();
+ }
+
+
+ @Test
+ public void testServiceArtifactValidationTask() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ServiceArtifactValidationTask result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.serviceArtifactValidationTask();
+ }
+
+
+ @Test
+ public void testModuleJsonTask() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ModuleJsonTask result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.moduleJsonTask();
+ }
+
+
+ @Test
+ public void testValidationToolBL() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ValidationToolBL result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.validationToolBL();
+ }
+
+
+ @Test
+ public void testBasicVfValidator() throws Exception {
+ ValidationToolConfiguration testSubject;
+ VfValidatorExecuter result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.basicVfValidator();
+ }
+
+
+ @Test
+ public void testReportManager() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ReportManager result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.reportManager();
+ }
+
+
+ @Test
+ public void testArtifactCassandraDao() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ArtifactCassandraDao result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.artifactCassandraDao();
+ }
+
+
+ @Test
+ public void testArtifactValidationUtils() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ArtifactValidationUtils result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.artifactValidationUtils();
+ }
+
+
+ @Test
+ public void testJsonGroupsOperation() throws Exception {
+ ValidationToolConfiguration testSubject;
+ GroupsOperation result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.jsonGroupsOperation();
+ }
+
+
+ @Test
+ public void testCassandraClient() throws Exception {
+ ValidationToolConfiguration testSubject;
+ CassandraClient result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.cassandraClient();
+ }
+
+
+ @Test
+ public void testDaoStrategy() throws Exception {
+ ValidationToolConfiguration testSubject;
+ TitanClientStrategy result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.daoStrategy();
+ }
+
+
+
+
+
+ @Test
+ public void testToscaOperationFacade() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ToscaOperationFacade result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toscaOperationFacade();
+ }
+
+
+ @Test
+ public void testNodeTypeOperation() throws Exception {
+ ValidationToolConfiguration testSubject;
+ DerivedNodeTypeResolver migrationDerivedNodeTypeResolver = null;
+ NodeTypeOperation result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.nodeTypeOperation(migrationDerivedNodeTypeResolver);
+ }
+
+
+ @Test
+ public void testTopologyTemplateOperation() throws Exception {
+ ValidationToolConfiguration testSubject;
+ TopologyTemplateOperation result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.topologyTemplateOperation();
+ }
+
+
+
+
+
+ @Test
+ public void testMigrationDerivedNodeTypeResolver() throws Exception {
+ ValidationToolConfiguration testSubject;
+ DerivedNodeTypeResolver result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.migrationDerivedNodeTypeResolver();
+ }
+
+
+ @Test
+ public void testTitanDao() throws Exception {
+ ValidationToolConfiguration testSubject;
+ TitanGraphClient titanGraphClient = null;
+ TitanDao result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.titanDao(titanGraphClient);
+ }
+
+
+ @Test
+ public void testCategoryOperation() throws Exception {
+ ValidationToolConfiguration testSubject;
+ CategoryOperation result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.categoryOperation();
+ }
+
+
+ @Test
+ public void testArtifactsOperation() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ArtifactsOperations result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.artifactsOperation();
+ }
+
+
+ @Test
+ public void testToscaDataOperation() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ToscaDataOperation result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toscaDataOperation();
+ }
+
+
+ @Test
+ public void testToscaElementLifecycleOperation() throws Exception {
+ ValidationToolConfiguration testSubject;
+ ToscaElementLifecycleOperation result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toscaElementLifecycleOperation();
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/ServiceValidatorExecuterTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/ServiceValidatorExecuterTest.java
new file mode 100644
index 0000000000..344c439f4b
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/ServiceValidatorExecuterTest.java
@@ -0,0 +1,27 @@
+package org.openecomp.sdc.asdctool.impl.validator.executers;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ServiceValidatorExecuterTest {
+
+ private ServiceValidatorExecuter createTestSubject() {
+ return new ServiceValidatorExecuter();
+ }
+
+
+
+
+
+ @Test
+ public void testGetName() throws Exception {
+ ServiceValidatorExecuter testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/TopologyTemplateValidatorExecuterTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/TopologyTemplateValidatorExecuterTest.java
new file mode 100644
index 0000000000..523b9ac077
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/TopologyTemplateValidatorExecuterTest.java
@@ -0,0 +1,44 @@
+package org.openecomp.sdc.asdctool.impl.validator.executers;
+
+import java.util.List;
+
+import org.junit.Test;
+import org.openecomp.sdc.asdctool.impl.validator.tasks.TopologyTemplateValidationTask;
+import org.openecomp.sdc.be.dao.jsongraph.GraphVertex;
+import org.openecomp.sdc.be.datatypes.enums.ComponentTypeEnum;
+
+
+public class TopologyTemplateValidatorExecuterTest {
+
+ private TopologyTemplateValidatorExecuter createTestSubject() {
+ return new TopologyTemplateValidatorExecuter();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ TopologyTemplateValidatorExecuter testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ TopologyTemplateValidatorExecuter testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+
+
+
+
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/VfValidatorExecuterTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/VfValidatorExecuterTest.java
new file mode 100644
index 0000000000..0d75c4d8b2
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/executers/VfValidatorExecuterTest.java
@@ -0,0 +1,25 @@
+package org.openecomp.sdc.asdctool.impl.validator.executers;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class VfValidatorExecuterTest {
+
+ private VfValidatorExecuter createTestSubject() {
+ return new VfValidatorExecuter();
+ }
+
+
+
+ @Test
+ public void testGetName() throws Exception {
+ VfValidatorExecuter testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactsVertexResultTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactsVertexResultTest.java
new file mode 100644
index 0000000000..ba1bd72fb7
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ArtifactsVertexResultTest.java
@@ -0,0 +1,35 @@
+package org.openecomp.sdc.asdctool.impl.validator.tasks.artifacts;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ArtifactsVertexResultTest {
+
+ private ArtifactsVertexResult createTestSubject() {
+ return new ArtifactsVertexResult();
+ }
+
+
+ @Test
+ public void testAddNotFoundArtifact() throws Exception {
+ ArtifactsVertexResult testSubject;
+ String artifactId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.addNotFoundArtifact(artifactId);
+ }
+
+
+ @Test
+ public void testGetResult() throws Exception {
+ ArtifactsVertexResult testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResult();
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ServiceArtifactValidationTaskTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ServiceArtifactValidationTaskTest.java
new file mode 100644
index 0000000000..cdada41b92
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/ServiceArtifactValidationTaskTest.java
@@ -0,0 +1,17 @@
+package org.openecomp.sdc.asdctool.impl.validator.tasks.artifacts;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.dao.jsongraph.GraphVertex;
+
+
+public class ServiceArtifactValidationTaskTest {
+
+ private ServiceArtifactValidationTask createTestSubject() {
+ return new ServiceArtifactValidationTask();
+ }
+
+
+
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/VfArtifactValidationTaskTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/VfArtifactValidationTaskTest.java
new file mode 100644
index 0000000000..554e58d9d5
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/tasks/artifacts/VfArtifactValidationTaskTest.java
@@ -0,0 +1,18 @@
+package org.openecomp.sdc.asdctool.impl.validator.tasks.artifacts;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.asdctool.impl.validator.utils.VertexResult;
+import org.openecomp.sdc.be.dao.jsongraph.GraphVertex;
+
+
+public class VfArtifactValidationTaskTest {
+
+ private VfArtifactValidationTask createTestSubject() {
+ return new VfArtifactValidationTask();
+ }
+
+
+
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ElementTypeEnumTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ElementTypeEnumTest.java
new file mode 100644
index 0000000000..6e72a31421
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ElementTypeEnumTest.java
@@ -0,0 +1,78 @@
+package org.openecomp.sdc.asdctool.impl.validator.utils;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ElementTypeEnumTest {
+
+ private ElementTypeEnum createTestSubject() {
+ return ElementTypeEnum.VF;
+ }
+
+
+ @Test
+ public void testGetByType() throws Exception {
+ String elementType = "";
+ ElementTypeEnum result;
+
+ // default test
+ result = ElementTypeEnum.getByType(elementType);
+ }
+
+
+ @Test
+ public void testGetAllTypes() throws Exception {
+ List<String> result;
+
+ // default test
+ result = ElementTypeEnum.getAllTypes();
+ }
+
+
+ @Test
+ public void testGetElementType() throws Exception {
+ ElementTypeEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getElementType();
+ }
+
+
+ @Test
+ public void testSetElementType() throws Exception {
+ ElementTypeEnum testSubject;
+ String elementType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setElementType(elementType);
+ }
+
+
+ @Test
+ public void testGetClazz() throws Exception {
+ ElementTypeEnum testSubject;
+ Class result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getClazz();
+ }
+
+
+ @Test
+ public void testSetClazz() throws Exception {
+ ElementTypeEnum testSubject;
+ Class clazz = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setClazz(clazz);
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ValidationTaskResultTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ValidationTaskResultTest.java
new file mode 100644
index 0000000000..96eedcf1fd
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/ValidationTaskResultTest.java
@@ -0,0 +1,80 @@
+package org.openecomp.sdc.asdctool.impl.validator.utils;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.dao.jsongraph.GraphVertex;
+
+
+public class ValidationTaskResultTest {
+
+ private ValidationTaskResult createTestSubject() {
+ return new ValidationTaskResult(new GraphVertex(), "", "", false);
+ }
+
+
+ @Test
+ public void testGetName() throws Exception {
+ ValidationTaskResult testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getName();
+ }
+
+
+ @Test
+ public void testSetName() throws Exception {
+ ValidationTaskResult testSubject;
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setName(name);
+ }
+
+
+ @Test
+ public void testGetResultMessage() throws Exception {
+ ValidationTaskResult testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResultMessage();
+ }
+
+
+ @Test
+ public void testSetResultMessage() throws Exception {
+ ValidationTaskResult testSubject;
+ String resultMessage = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResultMessage(resultMessage);
+ }
+
+
+ @Test
+ public void testIsSuccessful() throws Exception {
+ ValidationTaskResult testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isSuccessful();
+ }
+
+
+ @Test
+ public void testSetSuccessful() throws Exception {
+ ValidationTaskResult testSubject;
+ boolean successful = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSuccessful(successful);
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/VertexResultTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/VertexResultTest.java
new file mode 100644
index 0000000000..3b88a683ed
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/impl/validator/utils/VertexResultTest.java
@@ -0,0 +1,46 @@
+package org.openecomp.sdc.asdctool.impl.validator.utils;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class VertexResultTest {
+
+ private VertexResult createTestSubject() {
+ return new VertexResult();
+ }
+
+
+ @Test
+ public void testGetStatus() throws Exception {
+ VertexResult testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatus();
+ }
+
+
+ @Test
+ public void testSetStatus() throws Exception {
+ VertexResult testSubject;
+ boolean status = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatus(status);
+ }
+
+
+ @Test
+ public void testGetResult() throws Exception {
+ VertexResult testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResult();
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/migration/config/MigrationSpringConfigTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/migration/config/MigrationSpringConfigTest.java
new file mode 100644
index 0000000000..e8641097b6
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/migration/config/MigrationSpringConfigTest.java
@@ -0,0 +1,78 @@
+package org.openecomp.sdc.asdctool.migration.config;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.asdctool.migration.core.SdcMigrationTool;
+import org.openecomp.sdc.asdctool.migration.dao.MigrationTasksDao;
+import org.openecomp.sdc.asdctool.migration.resolver.MigrationResolver;
+import org.openecomp.sdc.asdctool.migration.resolver.SpringBeansMigrationResolver;
+import org.openecomp.sdc.asdctool.migration.service.SdcRepoService;
+import org.openecomp.sdc.be.dao.cassandra.CassandraClient;
+
+
+public class MigrationSpringConfigTest {
+
+ private MigrationSpringConfig createTestSubject() {
+ return new MigrationSpringConfig();
+ }
+
+
+ @Test
+ public void testSdcMigrationTool() throws Exception {
+ MigrationSpringConfig testSubject;
+ MigrationResolver migrationResolver = null;
+ SdcRepoService sdcRepoService = null;
+ SdcMigrationTool result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.sdcMigrationTool(migrationResolver, sdcRepoService);
+ }
+
+
+ @Test
+ public void testMigrationResolver() throws Exception {
+ MigrationSpringConfig testSubject;
+ SdcRepoService sdcRepoService = null;
+ SpringBeansMigrationResolver result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.migrationResolver(sdcRepoService);
+ }
+
+
+ @Test
+ public void testSdcRepoService() throws Exception {
+ MigrationSpringConfig testSubject;
+ MigrationTasksDao migrationTasksDao = null;
+ SdcRepoService result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.sdcRepoService(migrationTasksDao);
+ }
+
+
+ @Test
+ public void testMigrationTasksDao() throws Exception {
+ MigrationSpringConfig testSubject;
+ MigrationTasksDao result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.migrationTasksDao();
+ }
+
+
+ @Test
+ public void testCassandraClient() throws Exception {
+ MigrationSpringConfig testSubject;
+ CassandraClient result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.cassandraClient();
+ }
+} \ No newline at end of file
diff --git a/asdctool/src/test/java/org/openecomp/sdc/asdctool/migration/core/task/MigrationResultTest.java b/asdctool/src/test/java/org/openecomp/sdc/asdctool/migration/core/task/MigrationResultTest.java
new file mode 100644
index 0000000000..31af99c64d
--- /dev/null
+++ b/asdctool/src/test/java/org/openecomp/sdc/asdctool/migration/core/task/MigrationResultTest.java
@@ -0,0 +1,58 @@
+package org.openecomp.sdc.asdctool.migration.core.task;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.asdctool.migration.core.task.MigrationResult.MigrationStatus;
+
+
+public class MigrationResultTest {
+
+ private MigrationResult createTestSubject() {
+ return new MigrationResult();
+ }
+
+
+ @Test
+ public void testGetMsg() throws Exception {
+ MigrationResult testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMsg();
+ }
+
+
+ @Test
+ public void testSetMsg() throws Exception {
+ MigrationResult testSubject;
+ String msg = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMsg(msg);
+ }
+
+
+ @Test
+ public void testGetMigrationStatus() throws Exception {
+ MigrationResult testSubject;
+ MigrationStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMigrationStatus();
+ }
+
+
+ @Test
+ public void testSetMigrationStatus() throws Exception {
+ MigrationResult testSubject;
+ MigrationStatus migrationStatus = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMigrationStatus(migrationStatus);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/be/config/BeEcompErrorManagerTest.java b/common-app-api/src/test/java/org/openecomp/sdc/be/config/BeEcompErrorManagerTest.java
new file mode 100644
index 0000000000..592ab058b0
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/be/config/BeEcompErrorManagerTest.java
@@ -0,0 +1,735 @@
+package org.openecomp.sdc.be.config;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.config.BeEcompErrorManager.ErrorSeverity;
+import org.openecomp.sdc.common.config.IEcompConfigurationManager;
+
+
+public class BeEcompErrorManagerTest {
+
+ private BeEcompErrorManager createTestSubject() {
+ return BeEcompErrorManager.getInstance();
+ }
+
+
+ @Test
+ public void testGetInstance() throws Exception {
+ BeEcompErrorManager result;
+
+ // default test
+ result = BeEcompErrorManager.getInstance();
+ }
+
+
+
+
+ @Test
+ public void testGetConfigurationManager() throws Exception {
+ BeEcompErrorManager testSubject;
+ IEcompConfigurationManager result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConfigurationManager();
+ }
+
+
+ @Test
+ public void testLogBeUebAuthenticationError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String reason = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeUebAuthenticationError(context, reason);
+ }
+
+
+ @Test
+ public void testLogBeHealthCheckRecovery() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeHealthCheckRecovery(context);
+ }
+
+
+ @Test
+ public void testLogBeHealthCheckTitanRecovery() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeHealthCheckTitanRecovery(context);
+ }
+
+
+ @Test
+ public void testLogBeHealthCheckElasticSearchRecovery() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeHealthCheckElasticSearchRecovery(context);
+ }
+
+
+ @Test
+ public void testLogBeHealthCheckUebClusterRecovery() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeHealthCheckUebClusterRecovery(context);
+ }
+
+
+ @Test
+ public void testLogFeHealthCheckRecovery() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logFeHealthCheckRecovery(context);
+ }
+
+
+ @Test
+ public void testLogBeHealthCheckError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeHealthCheckError(context);
+ }
+
+
+ @Test
+ public void testLogBeHealthCheckTitanError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeHealthCheckTitanError(context);
+ }
+
+
+ @Test
+ public void testLogBeHealthCheckElasticSearchError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeHealthCheckElasticSearchError(context);
+ }
+
+
+ @Test
+ public void testLogBeHealthCheckUebClusterError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeHealthCheckUebClusterError(context);
+ }
+
+
+ @Test
+ public void testLogFeHealthCheckError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logFeHealthCheckError(context);
+ }
+
+
+ @Test
+ public void testLogBeUebConnectionError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String reason = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeUebConnectionError(context, reason);
+ }
+
+
+ @Test
+ public void testLogBeUebUnkownHostError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String host = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeUebUnkownHostError(context, host);
+ }
+
+
+ @Test
+ public void testLogBeComponentMissingError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String componentType = "";
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeComponentMissingError(context, componentType, name);
+ }
+
+
+ @Test
+ public void testLogBeIncorrectComponentError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String componentType = "";
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeIncorrectComponentError(context, componentType, name);
+ }
+
+
+ @Test
+ public void testLogBeInvalidConfigurationError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String parameterName = "";
+ String parameterValue = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeInvalidConfigurationError(context, parameterName, parameterValue);
+ }
+
+
+ @Test
+ public void testLogBeUebObjectNotFoundError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String notFoundObjectName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeUebObjectNotFoundError(context, notFoundObjectName);
+ }
+
+
+ @Test
+ public void testLogBeDistributionEngineInvalidArtifactType() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String artifactType = "";
+ String validArtifactTypes = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeDistributionEngineInvalidArtifactType(context, artifactType, validArtifactTypes);
+ }
+
+
+ @Test
+ public void testLogBeMissingConfigurationError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String parameterName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeMissingConfigurationError(context, parameterName);
+ }
+
+
+ @Test
+ public void testLogBeConfigurationInvalidListSizeError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String parameterName = "";
+ int listMinimumSize = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeConfigurationInvalidListSizeError(context, parameterName, listMinimumSize);
+ }
+
+
+ @Test
+ public void testLogErrorConfigFileFormat() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logErrorConfigFileFormat(context, description);
+ }
+
+
+ @Test
+ public void testLogBeMissingArtifactInformationError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String missingInfo = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeMissingArtifactInformationError(context, missingInfo);
+ }
+
+
+ @Test
+ public void testLogBeArtifactMissingError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String artifactName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeArtifactMissingError(context, artifactName);
+ }
+
+
+ @Test
+ public void testLogBeUserMissingError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String userId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeUserMissingError(context, userId);
+ }
+
+
+ @Test
+ public void testLogBeInvalidTypeError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String type = "";
+ String name = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeInvalidTypeError(context, type, name);
+ }
+
+
+ @Test
+ public void testLogBeInvalidValueError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String value = "";
+ String name = "";
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeInvalidValueError(context, value, name, type);
+ }
+
+
+ @Test
+ public void testLogBeArtifactPayloadInvalid() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeArtifactPayloadInvalid(context);
+ }
+
+
+ @Test
+ public void testLogBeArtifactInformationInvalidError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeArtifactInformationInvalidError(context);
+ }
+
+
+ @Test
+ public void testLogBeDistributionMissingError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String distributionName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeDistributionMissingError(context, distributionName);
+ }
+
+
+ @Test
+ public void testLogBeGraphObjectMissingError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String objectType = "";
+ String objectName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeGraphObjectMissingError(context, objectType, objectName);
+ }
+
+
+ @Test
+ public void testLogBeInvalidJsonInput() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeInvalidJsonInput(context);
+ }
+
+
+ @Test
+ public void testLogBeInitializationError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeInitializationError(context);
+ }
+
+
+ @Test
+ public void testLogBeFailedAddingResourceInstanceError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String resourceName = "";
+ String serviceId = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeFailedAddingResourceInstanceError(context, resourceName, serviceId);
+ }
+
+
+ @Test
+ public void testLogBeUebSystemError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String operation = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeUebSystemError(context, operation);
+ }
+
+
+ @Test
+ public void testLogBeDistributionEngineSystemError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String operation = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeDistributionEngineSystemError(context, operation);
+ }
+
+
+ @Test
+ public void testLogBeFailedAddingNodeTypeError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String nodeType = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeFailedAddingNodeTypeError(context, nodeType);
+ }
+
+
+ @Test
+ public void testLogBeDaoSystemError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeDaoSystemError(context);
+ }
+
+
+ @Test
+ public void testLogBeSystemError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeSystemError(context);
+ }
+
+
+ @Test
+ public void testLogBeExecuteRollbackError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeExecuteRollbackError(context);
+ }
+
+
+ @Test
+ public void testLogBeFailedLockObjectError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String type = "";
+ String id = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeFailedLockObjectError(context, type, id);
+ }
+
+
+ @Test
+ public void testLogBeFailedCreateNodeError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String nodeName = "";
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeFailedCreateNodeError(context, nodeName, status);
+ }
+
+
+ @Test
+ public void testLogBeFailedUpdateNodeError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String nodeName = "";
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeFailedUpdateNodeError(context, nodeName, status);
+ }
+
+
+ @Test
+ public void testLogBeFailedDeleteNodeError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String nodeName = "";
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeFailedDeleteNodeError(context, nodeName, status);
+ }
+
+
+ @Test
+ public void testLogBeFailedRetrieveNodeError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String nodeName = "";
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeFailedRetrieveNodeError(context, nodeName, status);
+ }
+
+
+ @Test
+ public void testLogBeFailedFindParentError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String node = "";
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeFailedFindParentError(context, node, status);
+ }
+
+
+ @Test
+ public void testLogBeFailedFindAllNodesError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String nodeType = "";
+ String parentNode = "";
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeFailedFindAllNodesError(context, nodeType, parentNode, status);
+ }
+
+
+ @Test
+ public void testLogBeFailedFindAssociationError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String nodeType = "";
+ String fromNode = "";
+ String status = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeFailedFindAssociationError(context, nodeType, fromNode, status);
+ }
+
+
+ @Test
+ public void testLogBeComponentCleanerSystemError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String operation = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeComponentCleanerSystemError(context, operation);
+ }
+
+
+ @Test
+ public void testLogBeRestApiGeneralError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logBeRestApiGeneralError(context);
+ }
+
+
+ @Test
+ public void testLogFqdnResolveError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logFqdnResolveError(context, description);
+ }
+
+
+ @Test
+ public void testLogSiteSwitchoverInfo() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.logSiteSwitchoverInfo(context, description);
+ }
+
+
+ @Test
+ public void testLogInternalAuthenticationError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String description = "";
+ ErrorSeverity severity = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ severity = null;
+ testSubject.logInternalAuthenticationError(context, description, severity);
+ }
+
+
+ @Test
+ public void testLogInternalConnectionError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String description = "";
+ ErrorSeverity severity = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ severity = null;
+ testSubject.logInternalConnectionError(context, description, severity);
+ }
+
+
+ @Test
+ public void testLogInternalDataError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String description = "";
+ ErrorSeverity severity = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ severity = null;
+ testSubject.logInternalDataError(context, description, severity);
+ }
+
+
+ @Test
+ public void testLogInvalidInputError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String description = "";
+ ErrorSeverity severity = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ severity = null;
+ testSubject.logInvalidInputError(context, description, severity);
+ }
+
+
+ @Test
+ public void testLogInternalFlowError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String description = "";
+ ErrorSeverity severity = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ severity = null;
+ testSubject.logInternalFlowError(context, description, severity);
+ }
+
+
+ @Test
+ public void testLogInternalUnexpectedError() throws Exception {
+ BeEcompErrorManager testSubject;
+ String context = "";
+ String description = "";
+ ErrorSeverity severity = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ severity = null;
+ testSubject.logInternalUnexpectedError(context, description, severity);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/be/config/CleanComponentsConfigurationTest.java b/common-app-api/src/test/java/org/openecomp/sdc/be/config/CleanComponentsConfigurationTest.java
new file mode 100644
index 0000000000..86c78b236e
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/be/config/CleanComponentsConfigurationTest.java
@@ -0,0 +1,51 @@
+package org.openecomp.sdc.be.config;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class CleanComponentsConfigurationTest {
+
+ private CleanComponentsConfiguration createTestSubject() {
+ return new CleanComponentsConfiguration();
+ }
+
+
+ @Test
+ public void testGetCleanIntervalInMinutes() throws Exception {
+ CleanComponentsConfiguration testSubject;
+ long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCleanIntervalInMinutes();
+ }
+
+
+
+
+
+ @Test
+ public void testGetComponentsToClean() throws Exception {
+ CleanComponentsConfiguration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentsToClean();
+ }
+
+
+ @Test
+ public void testSetComponentsToClean() throws Exception {
+ CleanComponentsConfiguration testSubject;
+ List<String> componentsToClean = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentsToClean(componentsToClean);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/be/config/ConfigurationTest.java b/common-app-api/src/test/java/org/openecomp/sdc/be/config/ConfigurationTest.java
new file mode 100644
index 0000000000..5b98270ee9
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/be/config/ConfigurationTest.java
@@ -0,0 +1,1455 @@
+package org.openecomp.sdc.be.config;
+
+import java.util.Date;
+import java.util.LinkedList;
+import java.util.List;
+import java.util.Map;
+import java.util.Set;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.config.Configuration.ApplicationL1CacheConfig;
+import org.openecomp.sdc.be.config.Configuration.ApplicationL2CacheConfig;
+import org.openecomp.sdc.be.config.Configuration.ArtifactTypeConfig;
+import org.openecomp.sdc.be.config.Configuration.BeMonitoringConfig;
+import org.openecomp.sdc.be.config.Configuration.CassandrConfig;
+import org.openecomp.sdc.be.config.Configuration.EcompPortalConfig;
+import org.openecomp.sdc.be.config.Configuration.ElasticSearchConfig;
+import org.openecomp.sdc.be.config.Configuration.OnboardingConfig;
+import org.openecomp.sdc.be.config.Configuration.SwitchoverDetectorConfig;
+import org.openecomp.sdc.be.config.Configuration.ToscaValidatorsConfig;
+import org.openecomp.sdc.be.config.Configuration.VfModuleProperty;
+
+
+public class ConfigurationTest {
+
+ private Configuration createTestSubject() {
+ return new Configuration();
+ }
+
+
+ @Test
+ public void testGetGenericAssetNodeTypes() throws Exception {
+ Configuration testSubject;
+ Map<String, String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getGenericAssetNodeTypes();
+ }
+
+
+ @Test
+ public void testSetGenericAssetNodeTypes() throws Exception {
+ Configuration testSubject;
+ Map<String, String> genericAssetNodeTypes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setGenericAssetNodeTypes(genericAssetNodeTypes);
+ }
+
+
+ @Test
+ public void testGetSwitchoverDetector() throws Exception {
+ Configuration testSubject;
+ SwitchoverDetectorConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSwitchoverDetector();
+ }
+
+
+ @Test
+ public void testSetSwitchoverDetector() throws Exception {
+ Configuration testSubject;
+ SwitchoverDetectorConfig switchoverDetector = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSwitchoverDetector(switchoverDetector);
+ }
+
+
+ @Test
+ public void testGetApplicationL1Cache() throws Exception {
+ Configuration testSubject;
+ ApplicationL1CacheConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getApplicationL1Cache();
+ }
+
+
+ @Test
+ public void testSetApplicationL1Cache() throws Exception {
+ Configuration testSubject;
+ ApplicationL1CacheConfig applicationL1Cache = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setApplicationL1Cache(applicationL1Cache);
+ }
+
+
+ @Test
+ public void testGetApplicationL2Cache() throws Exception {
+ Configuration testSubject;
+ ApplicationL2CacheConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getApplicationL2Cache();
+ }
+
+
+ @Test
+ public void testSetApplicationL2Cache() throws Exception {
+ Configuration testSubject;
+ ApplicationL2CacheConfig applicationL2Cache = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setApplicationL2Cache(applicationL2Cache);
+ }
+
+
+ @Test
+ public void testGetCassandraConfig() throws Exception {
+ Configuration testSubject;
+ CassandrConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCassandraConfig();
+ }
+
+
+ @Test
+ public void testSetCassandraConfig() throws Exception {
+ Configuration testSubject;
+ CassandrConfig cassandraKeySpace = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCassandraConfig(cassandraKeySpace);
+ }
+
+
+ @Test
+ public void testGetIdentificationHeaderFields() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIdentificationHeaderFields();
+ }
+
+
+ @Test
+ public void testSetIdentificationHeaderFields() throws Exception {
+ Configuration testSubject;
+ List<String> identificationHeaderFields = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIdentificationHeaderFields(identificationHeaderFields);
+ }
+
+
+ @Test
+ public void testGetReleased() throws Exception {
+ Configuration testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReleased();
+ }
+
+
+ @Test
+ public void testGetVersion() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVersion();
+ }
+
+
+ @Test
+ public void testSetReleased() throws Exception {
+ Configuration testSubject;
+ Date released = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReleased(released);
+ }
+
+
+ @Test
+ public void testSetVersion() throws Exception {
+ Configuration testSubject;
+ String version = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVersion(version);
+ }
+
+
+ @Test
+ public void testGetProtocols() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProtocols();
+ }
+
+
+ @Test
+ public void testSetProtocols() throws Exception {
+ Configuration testSubject;
+ List<String> protocols = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProtocols(protocols);
+ }
+
+
+ @Test
+ public void testGetUsers() throws Exception {
+ Configuration testSubject;
+ Map<String, String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUsers();
+ }
+
+
+ @Test
+ public void testSetUsers() throws Exception {
+ Configuration testSubject;
+ Map<String, String> users = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUsers(users);
+ }
+
+
+ @Test
+ public void testGetBeFqdn() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBeFqdn();
+ }
+
+
+ @Test
+ public void testSetBeFqdn() throws Exception {
+ Configuration testSubject;
+ String beHost = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBeFqdn(beHost);
+ }
+
+
+ @Test
+ public void testGetBeHttpPort() throws Exception {
+ Configuration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBeHttpPort();
+ }
+
+
+ @Test
+ public void testSetBeHttpPort() throws Exception {
+ Configuration testSubject;
+ Integer beHttpPort = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBeHttpPort(beHttpPort);
+ }
+
+
+ @Test
+ public void testGetBeSslPort() throws Exception {
+ Configuration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBeSslPort();
+ }
+
+
+ @Test
+ public void testSetBeSslPort() throws Exception {
+ Configuration testSubject;
+ Integer beSslPort = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBeSslPort(beSslPort);
+ }
+
+
+ @Test
+ public void testGetBeContext() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBeContext();
+ }
+
+
+ @Test
+ public void testSetBeContext() throws Exception {
+ Configuration testSubject;
+ String beContext = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBeContext(beContext);
+ }
+
+
+ @Test
+ public void testGetBeProtocol() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBeProtocol();
+ }
+
+
+ @Test
+ public void testSetBeProtocol() throws Exception {
+ Configuration testSubject;
+ String beProtocol = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBeProtocol(beProtocol);
+ }
+
+
+ @Test
+ public void testGetNeo4j() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNeo4j();
+ }
+
+
+ @Test
+ public void testSetNeo4j() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> neo4j = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNeo4j(neo4j);
+ }
+
+
+ @Test
+ public void testGetElasticSearch() throws Exception {
+ Configuration testSubject;
+ ElasticSearchConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getElasticSearch();
+ }
+
+
+ @Test
+ public void testSetElasticSearch() throws Exception {
+ Configuration testSubject;
+ ElasticSearchConfig elasticSearch = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setElasticSearch(elasticSearch);
+ }
+
+
+ @Test
+ public void testGetTitanCfgFile() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTitanCfgFile();
+ }
+
+
+ @Test
+ public void testSetTitanCfgFile() throws Exception {
+ Configuration testSubject;
+ String titanCfgFile = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTitanCfgFile(titanCfgFile);
+ }
+
+
+ @Test
+ public void testGetTitanMigrationKeySpaceCfgFile() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTitanMigrationKeySpaceCfgFile();
+ }
+
+
+ @Test
+ public void testSetTitanMigrationKeySpaceCfgFile() throws Exception {
+ Configuration testSubject;
+ String titanMigrationKeySpaceCfgFile = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTitanMigrationKeySpaceCfgFile(titanMigrationKeySpaceCfgFile);
+ }
+
+
+ @Test
+ public void testGetTitanInMemoryGraph() throws Exception {
+ Configuration testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTitanInMemoryGraph();
+ }
+
+
+ @Test
+ public void testSetTitanInMemoryGraph() throws Exception {
+ Configuration testSubject;
+ Boolean titanInMemoryGraph = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTitanInMemoryGraph(titanInMemoryGraph);
+ }
+
+
+ @Test
+ public void testGetStartMigrationFrom() throws Exception {
+ Configuration testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStartMigrationFrom();
+ }
+
+
+ @Test
+ public void testSetStartMigrationFrom() throws Exception {
+ Configuration testSubject;
+ int startMigrationFrom = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStartMigrationFrom(startMigrationFrom);
+ }
+
+
+ @Test
+ public void testGetTitanLockTimeout() throws Exception {
+ Configuration testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTitanLockTimeout();
+ }
+
+
+ @Test
+ public void testSetTitanLockTimeout() throws Exception {
+ Configuration testSubject;
+ Long titanLockTimeout = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTitanLockTimeout(titanLockTimeout);
+ }
+
+
+ @Test
+ public void testGetTitanHealthCheckReadTimeout() throws Exception {
+ Configuration testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTitanHealthCheckReadTimeout();
+ }
+
+
+
+
+ @Test
+ public void testSetTitanHealthCheckReadTimeout() throws Exception {
+ Configuration testSubject;
+ Long titanHealthCheckReadTimeout = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTitanHealthCheckReadTimeout(titanHealthCheckReadTimeout);
+ }
+
+
+ @Test
+ public void testGetTitanReconnectIntervalInSeconds() throws Exception {
+ Configuration testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTitanReconnectIntervalInSeconds();
+ }
+
+
+
+
+ @Test
+ public void testSetTitanReconnectIntervalInSeconds() throws Exception {
+ Configuration testSubject;
+ Long titanReconnectIntervalInSeconds = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTitanReconnectIntervalInSeconds(titanReconnectIntervalInSeconds);
+ }
+
+
+ @Test
+ public void testGetEsReconnectIntervalInSeconds() throws Exception {
+ Configuration testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEsReconnectIntervalInSeconds();
+ }
+
+
+
+
+ @Test
+ public void testSetEsReconnectIntervalInSeconds() throws Exception {
+ Configuration testSubject;
+ Long esReconnectIntervalInSeconds = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEsReconnectIntervalInSeconds(esReconnectIntervalInSeconds);
+ }
+
+
+ @Test
+ public void testGetArtifactTypes() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactTypes();
+ }
+
+
+ @Test
+ public void testSetArtifactTypes() throws Exception {
+ Configuration testSubject;
+ List<String> artifactTypes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactTypes(artifactTypes);
+ }
+
+
+ @Test
+ public void testGetExcludeResourceCategory() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getExcludeResourceCategory();
+ }
+
+
+ @Test
+ public void testSetExcludeResourceCategory() throws Exception {
+ Configuration testSubject;
+ List<String> excludeResourceCategory = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setExcludeResourceCategory(excludeResourceCategory);
+ }
+
+
+ @Test
+ public void testGetExcludeResourceType() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getExcludeResourceType();
+ }
+
+
+ @Test
+ public void testSetExcludeResourceType() throws Exception {
+ Configuration testSubject;
+ List<String> excludeResourceType = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setExcludeResourceType(excludeResourceType);
+ }
+
+
+ @Test
+ public void testGetToscaArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getToscaArtifacts();
+ }
+
+
+ @Test
+ public void testSetToscaArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> toscaArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setToscaArtifacts(toscaArtifacts);
+ }
+
+
+ @Test
+ public void testGetInformationalResourceArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInformationalResourceArtifacts();
+ }
+
+
+ @Test
+ public void testSetInformationalResourceArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> informationalResourceArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInformationalResourceArtifacts(informationalResourceArtifacts);
+ }
+
+
+ @Test
+ public void testGetInformationalServiceArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInformationalServiceArtifacts();
+ }
+
+
+ @Test
+ public void testSetInformationalServiceArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> informationalServiceArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInformationalServiceArtifacts(informationalServiceArtifacts);
+ }
+
+
+ @Test
+ public void testGetServiceApiArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceApiArtifacts();
+ }
+
+
+ @Test
+ public void testSetServiceApiArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> serviceApiArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceApiArtifacts(serviceApiArtifacts);
+ }
+
+
+ @Test
+ public void testGetServiceDeploymentArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, ArtifactTypeConfig> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getServiceDeploymentArtifacts();
+ }
+
+
+ @Test
+ public void testSetServiceDeploymentArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, ArtifactTypeConfig> serviceDeploymentArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setServiceDeploymentArtifacts(serviceDeploymentArtifacts);
+ }
+
+
+ @Test
+ public void testGetResourceDeploymentArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, ArtifactTypeConfig> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceDeploymentArtifacts();
+ }
+
+
+ @Test
+ public void testSetResourceDeploymentArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, ArtifactTypeConfig> resourceDeploymentArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceDeploymentArtifacts(resourceDeploymentArtifacts);
+ }
+
+
+ @Test
+ public void testSetResourceInstanceDeploymentArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, ArtifactTypeConfig> resourceInstanceDeploymentArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceInstanceDeploymentArtifacts(resourceInstanceDeploymentArtifacts);
+ }
+
+
+ @Test
+ public void testGetResourceInstanceDeploymentArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, ArtifactTypeConfig> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceInstanceDeploymentArtifacts();
+ }
+
+
+ @Test
+ public void testGetExcludeServiceCategory() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getExcludeServiceCategory();
+ }
+
+
+ @Test
+ public void testSetExcludeServiceCategory() throws Exception {
+ Configuration testSubject;
+ List<String> excludeServiceCategory = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setExcludeServiceCategory(excludeServiceCategory);
+ }
+
+
+ @Test
+ public void testGetLicenseTypes() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getLicenseTypes();
+ }
+
+
+ @Test
+ public void testSetLicenseTypes() throws Exception {
+ Configuration testSubject;
+ List<String> licenseTypes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setLicenseTypes(licenseTypes);
+ }
+
+
+ @Test
+ public void testGetAdditionalInformationMaxNumberOfKeys() throws Exception {
+ Configuration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAdditionalInformationMaxNumberOfKeys();
+ }
+
+
+ @Test
+ public void testSetAdditionalInformationMaxNumberOfKeys() throws Exception {
+ Configuration testSubject;
+ Integer additionalInformationMaxNumberOfKeys = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAdditionalInformationMaxNumberOfKeys(additionalInformationMaxNumberOfKeys);
+ }
+
+
+ @Test
+ public void testGetSystemMonitoring() throws Exception {
+ Configuration testSubject;
+ BeMonitoringConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSystemMonitoring();
+ }
+
+
+ @Test
+ public void testSetSystemMonitoring() throws Exception {
+ Configuration testSubject;
+ BeMonitoringConfig systemMonitoring = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSystemMonitoring(systemMonitoring);
+ }
+
+
+ @Test
+ public void testGetDefaultHeatArtifactTimeoutMinutes() throws Exception {
+ Configuration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDefaultHeatArtifactTimeoutMinutes();
+ }
+
+
+ @Test
+ public void testSetDefaultHeatArtifactTimeoutMinutes() throws Exception {
+ Configuration testSubject;
+ Integer defaultHeatArtifactTimeoutMinutes = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDefaultHeatArtifactTimeoutMinutes(defaultHeatArtifactTimeoutMinutes);
+ }
+
+
+ @Test
+ public void testGetUebHealthCheckReconnectIntervalInSeconds() throws Exception {
+ Configuration testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUebHealthCheckReconnectIntervalInSeconds();
+ }
+
+
+ @Test
+ public void testSetUebHealthCheckReconnectIntervalInSeconds() throws Exception {
+ Configuration testSubject;
+ Long uebHealthCheckReconnectIntervalInSeconds = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUebHealthCheckReconnectIntervalInSeconds(uebHealthCheckReconnectIntervalInSeconds);
+ }
+
+
+ @Test
+ public void testGetUebHealthCheckReadTimeout() throws Exception {
+ Configuration testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUebHealthCheckReadTimeout();
+ }
+
+
+ @Test
+ public void testSetUebHealthCheckReadTimeout() throws Exception {
+ Configuration testSubject;
+ Long uebHealthCheckReadTimeout = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUebHealthCheckReadTimeout(uebHealthCheckReadTimeout);
+ }
+
+
+ @Test
+ public void testGetCleanComponentsConfiguration() throws Exception {
+ Configuration testSubject;
+ CleanComponentsConfiguration result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCleanComponentsConfiguration();
+ }
+
+
+ @Test
+ public void testSetCleanComponentsConfiguration() throws Exception {
+ Configuration testSubject;
+ CleanComponentsConfiguration cleanComponentsConfiguration = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCleanComponentsConfiguration(cleanComponentsConfiguration);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testGetUnLoggedUrls() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUnLoggedUrls();
+ }
+
+
+ @Test
+ public void testSetUnLoggedUrls() throws Exception {
+ Configuration testSubject;
+ List<String> unLoggedUrls = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUnLoggedUrls(unLoggedUrls);
+ }
+
+
+ @Test
+ public void testGetDeploymentResourceArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDeploymentResourceArtifacts();
+ }
+
+
+ @Test
+ public void testSetDeploymentResourceArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> deploymentResourceArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDeploymentResourceArtifacts(deploymentResourceArtifacts);
+ }
+
+
+ @Test
+ public void testGetHeatEnvArtifactHeader() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHeatEnvArtifactHeader();
+ }
+
+
+ @Test
+ public void testSetHeatEnvArtifactHeader() throws Exception {
+ Configuration testSubject;
+ String heatEnvArtifactHeader = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHeatEnvArtifactHeader(heatEnvArtifactHeader);
+ }
+
+
+ @Test
+ public void testGetHeatEnvArtifactFooter() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHeatEnvArtifactFooter();
+ }
+
+
+ @Test
+ public void testSetHeatEnvArtifactFooter() throws Exception {
+ Configuration testSubject;
+ String heatEnvArtifactFooter = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHeatEnvArtifactFooter(heatEnvArtifactFooter);
+ }
+
+
+ @Test
+ public void testGetDeploymentResourceInstanceArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDeploymentResourceInstanceArtifacts();
+ }
+
+
+ @Test
+ public void testSetDeploymentResourceInstanceArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, Object> deploymentResourceInstanceArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDeploymentResourceInstanceArtifacts(deploymentResourceInstanceArtifacts);
+ }
+
+
+ @Test
+ public void testGetArtifactsIndex() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getArtifactsIndex();
+ }
+
+
+ @Test
+ public void testSetArtifactsIndex() throws Exception {
+ Configuration testSubject;
+ String artifactsIndex = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setArtifactsIndex(artifactsIndex);
+ }
+
+
+ @Test
+ public void testGetResourceInformationalDeployedArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, ArtifactTypeConfig> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceInformationalDeployedArtifacts();
+ }
+
+
+ @Test
+ public void testSetResourceInformationalDeployedArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, ArtifactTypeConfig> resourceInformationalDeployedArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceInformationalDeployedArtifacts(resourceInformationalDeployedArtifacts);
+ }
+
+
+ @Test
+ public void testGetResourceTypes() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceTypes();
+ }
+
+
+ @Test
+ public void testSetResourceTypes() throws Exception {
+ Configuration testSubject;
+ List<String> resourceTypes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceTypes(resourceTypes);
+ }
+
+
+ @Test
+ public void testGetToscaFilesDir() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getToscaFilesDir();
+ }
+
+
+ @Test
+ public void testSetToscaFilesDir() throws Exception {
+ Configuration testSubject;
+ String toscaFilesDir = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setToscaFilesDir(toscaFilesDir);
+ }
+
+
+ @Test
+ public void testGetHeatTranslatorPath() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHeatTranslatorPath();
+ }
+
+
+ @Test
+ public void testSetHeatTranslatorPath() throws Exception {
+ Configuration testSubject;
+ String heatTranslatorPath = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHeatTranslatorPath(heatTranslatorPath);
+ }
+
+
+ @Test
+ public void testGetRequirementsToFulfillBeforeCert() throws Exception {
+ Configuration testSubject;
+ Map<String, Set<String>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequirementsToFulfillBeforeCert();
+ }
+
+
+ @Test
+ public void testSetRequirementsToFulfillBeforeCert() throws Exception {
+ Configuration testSubject;
+ Map<String, Set<String>> requirementsToFulfillBeforeCert = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequirementsToFulfillBeforeCert(requirementsToFulfillBeforeCert);
+ }
+
+
+ @Test
+ public void testGetCapabilitiesToConsumeBeforeCert() throws Exception {
+ Configuration testSubject;
+ Map<String, Set<String>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapabilitiesToConsumeBeforeCert();
+ }
+
+
+ @Test
+ public void testSetCapabilitiesToConsumeBeforeCert() throws Exception {
+ Configuration testSubject;
+ Map<String, Set<String>> capabilitiesToConsumeBeforeCert = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCapabilitiesToConsumeBeforeCert(capabilitiesToConsumeBeforeCert);
+ }
+
+
+ @Test
+ public void testGetOnboarding() throws Exception {
+ Configuration testSubject;
+ OnboardingConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOnboarding();
+ }
+
+
+ @Test
+ public void testSetOnboarding() throws Exception {
+ Configuration testSubject;
+ OnboardingConfig onboarding = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOnboarding(onboarding);
+ }
+
+
+ @Test
+ public void testGetEcompPortal() throws Exception {
+ Configuration testSubject;
+ EcompPortalConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEcompPortal();
+ }
+
+
+ @Test
+ public void testSetEcompPortal() throws Exception {
+ Configuration testSubject;
+ EcompPortalConfig ecompPortal = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setEcompPortal(ecompPortal);
+ }
+
+
+ @Test
+ public void testGetToscaValidators() throws Exception {
+ Configuration testSubject;
+ ToscaValidatorsConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getToscaValidators();
+ }
+
+
+ @Test
+ public void testSetToscaValidators() throws Exception {
+ Configuration testSubject;
+ ToscaValidatorsConfig toscaValidators = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setToscaValidators(toscaValidators);
+ }
+
+
+ @Test
+ public void testIsDisableAudit() throws Exception {
+ Configuration testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isDisableAudit();
+ }
+
+
+ @Test
+ public void testSetDisableAudit() throws Exception {
+ Configuration testSubject;
+ boolean enableAudit = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDisableAudit(enableAudit);
+ }
+
+
+ @Test
+ public void testGetResourceInformationalArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, ArtifactTypeConfig> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResourceInformationalArtifacts();
+ }
+
+
+ @Test
+ public void testSetResourceInformationalArtifacts() throws Exception {
+ Configuration testSubject;
+ Map<String, ArtifactTypeConfig> resourceInformationalArtifacts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResourceInformationalArtifacts(resourceInformationalArtifacts);
+ }
+
+
+ @Test
+ public void testGetVfModuleProperties() throws Exception {
+ Configuration testSubject;
+ Map<String, VfModuleProperty> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVfModuleProperties();
+ }
+
+
+ @Test
+ public void testSetVfModuleProperties() throws Exception {
+ Configuration testSubject;
+ Map<String, VfModuleProperty> vfModuleProperties = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVfModuleProperties(vfModuleProperties);
+ }
+
+
+ @Test
+ public void testGetToscaConformanceLevel() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getToscaConformanceLevel();
+ }
+
+
+ @Test
+ public void testSetToscaConformanceLevel() throws Exception {
+ Configuration testSubject;
+ String toscaConformanceLevel = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setToscaConformanceLevel(toscaConformanceLevel);
+ }
+
+
+ @Test
+ public void testGetMinToscaConformanceLevel() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMinToscaConformanceLevel();
+ }
+
+
+ @Test
+ public void testSetMinToscaConformanceLevel() throws Exception {
+ Configuration testSubject;
+ String toscaConformanceLevel = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMinToscaConformanceLevel(toscaConformanceLevel);
+ }
+
+
+ @Test
+ public void testGetDefaultImports() throws Exception {
+ Configuration testSubject;
+ LinkedList<Map<String, Map<String, String>>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDefaultImports();
+ }
+
+
+ @Test
+ public void testSetDefaultImports() throws Exception {
+ Configuration testSubject;
+ LinkedList<Map<String, Map<String, String>>> defaultImports = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDefaultImports(defaultImports);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/be/config/DistributionEngineConfigurationTest.java b/common-app-api/src/test/java/org/openecomp/sdc/be/config/DistributionEngineConfigurationTest.java
new file mode 100644
index 0000000000..8eb9befa7f
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/be/config/DistributionEngineConfigurationTest.java
@@ -0,0 +1,372 @@
+package org.openecomp.sdc.be.config;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.config.DistributionEngineConfiguration.ComponentArtifactTypesConfig;
+import org.openecomp.sdc.be.config.DistributionEngineConfiguration.CreateTopicConfig;
+import org.openecomp.sdc.be.config.DistributionEngineConfiguration.DistributionNotificationTopicConfig;
+import org.openecomp.sdc.be.config.DistributionEngineConfiguration.DistributionStatusTopicConfig;
+
+
+public class DistributionEngineConfigurationTest {
+
+ private DistributionEngineConfiguration createTestSubject() {
+ return new DistributionEngineConfiguration();
+ }
+
+
+ @Test
+ public void testGetUebServers() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUebServers();
+ }
+
+
+ @Test
+ public void testSetUebServers() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ List<String> uebServers = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUebServers(uebServers);
+ }
+
+
+ @Test
+ public void testGetDistributionNotifTopicName() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionNotifTopicName();
+ }
+
+
+ @Test
+ public void testSetDistributionNotifTopicName() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ String distributionNotifTopicName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistributionNotifTopicName(distributionNotifTopicName);
+ }
+
+
+ @Test
+ public void testGetDistributionStatusTopicName() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionStatusTopicName();
+ }
+
+
+ @Test
+ public void testSetDistributionStatusTopicName() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ String distributionStatusTopicName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistributionStatusTopicName(distributionStatusTopicName);
+ }
+
+
+ @Test
+ public void testGetInitRetryIntervalSec() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInitRetryIntervalSec();
+ }
+
+
+ @Test
+ public void testSetInitRetryIntervalSec() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ Integer initRetryIntervalSec = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInitRetryIntervalSec(initRetryIntervalSec);
+ }
+
+
+ @Test
+ public void testGetDistribNotifServiceArtifactTypes() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ ComponentArtifactTypesConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistribNotifServiceArtifactTypes();
+ }
+
+
+ @Test
+ public void testSetDistribNotifServiceArtifactTypes() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ ComponentArtifactTypesConfig distribNotifServiceArtifactTypes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistribNotifServiceArtifactTypes(distribNotifServiceArtifactTypes);
+ }
+
+
+ @Test
+ public void testGetDistribNotifResourceArtifactTypes() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ ComponentArtifactTypesConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistribNotifResourceArtifactTypes();
+ }
+
+
+ @Test
+ public void testSetDistribNotifResourceArtifactTypes() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ ComponentArtifactTypesConfig distribNotifResourceArtifactTypes = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistribNotifResourceArtifactTypes(distribNotifResourceArtifactTypes);
+ }
+
+
+ @Test
+ public void testGetUebPublicKey() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUebPublicKey();
+ }
+
+
+ @Test
+ public void testSetUebPublicKey() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ String uebPublicKey = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUebPublicKey(uebPublicKey);
+ }
+
+
+ @Test
+ public void testGetUebSecretKey() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getUebSecretKey();
+ }
+
+
+ @Test
+ public void testSetUebSecretKey() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ String uebSecretKey = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUebSecretKey(uebSecretKey);
+ }
+
+
+ @Test
+ public void testGetEnvironments() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getEnvironments();
+ }
+
+
+ @Test
+ public void testSetEnvironments() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ List<String> environments = null;
+
+ // test 1
+ testSubject = createTestSubject();
+ environments = null;
+ testSubject.setEnvironments(environments);
+ }
+
+
+ @Test
+ public void testGetDistributionStatusTopic() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ DistributionStatusTopicConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionStatusTopic();
+ }
+
+
+ @Test
+ public void testSetDistributionStatusTopic() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ DistributionStatusTopicConfig distributionStatusTopic = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistributionStatusTopic(distributionStatusTopic);
+ }
+
+
+ @Test
+ public void testGetInitMaxIntervalSec() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInitMaxIntervalSec();
+ }
+
+
+ @Test
+ public void testSetInitMaxIntervalSec() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ Integer initMaxIntervalSec = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInitMaxIntervalSec(initMaxIntervalSec);
+ }
+
+
+ @Test
+ public void testGetCreateTopic() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ CreateTopicConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCreateTopic();
+ }
+
+
+ @Test
+ public void testSetCreateTopic() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ CreateTopicConfig createTopic = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCreateTopic(createTopic);
+ }
+
+
+ @Test
+ public void testIsStartDistributionEngine() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isStartDistributionEngine();
+ }
+
+
+ @Test
+ public void testSetStartDistributionEngine() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ boolean startDistributionEngine = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStartDistributionEngine(startDistributionEngine);
+ }
+
+
+ @Test
+ public void testGetDistributionNotificationTopic() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ DistributionNotificationTopicConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDistributionNotificationTopic();
+ }
+
+
+ @Test
+ public void testSetDistributionNotificationTopic() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ DistributionNotificationTopicConfig distributionNotificationTopic = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDistributionNotificationTopic(distributionNotificationTopic);
+ }
+
+
+ @Test
+ public void testGetDefaultArtifactInstallationTimeout() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDefaultArtifactInstallationTimeout();
+ }
+
+
+ @Test
+ public void testSetDefaultArtifactInstallationTimeout() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ int defaultArtifactInstallationTimeout = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDefaultArtifactInstallationTimeout(defaultArtifactInstallationTimeout);
+ }
+
+
+ @Test
+ public void testIsUseHttpsWithDmaap() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isUseHttpsWithDmaap();
+ }
+
+
+ @Test
+ public void testSetUseHttpsWithDmaap() throws Exception {
+ DistributionEngineConfiguration testSubject;
+ boolean useHttpsWithDmaap = false;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setUseHttpsWithDmaap(useHttpsWithDmaap);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/be/config/ErrorConfigurationTest.java b/common-app-api/src/test/java/org/openecomp/sdc/be/config/ErrorConfigurationTest.java
new file mode 100644
index 0000000000..47e380b7cc
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/be/config/ErrorConfigurationTest.java
@@ -0,0 +1,51 @@
+package org.openecomp.sdc.be.config;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ErrorConfigurationTest {
+
+ private ErrorConfiguration createTestSubject() {
+ return new ErrorConfiguration();
+ }
+
+
+ @Test
+ public void testGetErrors() throws Exception {
+ ErrorConfiguration testSubject;
+ Map<String, ErrorInfo> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getErrors();
+ }
+
+
+ @Test
+ public void testSetErrors() throws Exception {
+ ErrorConfiguration testSubject;
+ Map<String, ErrorInfo> errors = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setErrors(errors);
+ }
+
+
+
+
+
+ @Test
+ public void testToString() throws Exception {
+ ErrorConfiguration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/be/config/ErrorInfoTest.java b/common-app-api/src/test/java/org/openecomp/sdc/be/config/ErrorInfoTest.java
new file mode 100644
index 0000000000..86bedf6beb
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/be/config/ErrorInfoTest.java
@@ -0,0 +1,110 @@
+package org.openecomp.sdc.be.config;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.config.ErrorInfo.ErrorInfoType;
+
+
+public class ErrorInfoTest {
+
+ private ErrorInfo createTestSubject() {
+ return new ErrorInfo();
+ }
+
+
+ @Test
+ public void testGetCode() throws Exception {
+ ErrorInfo testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCode();
+ }
+
+
+ @Test
+ public void testSetCode() throws Exception {
+ ErrorInfo testSubject;
+ Integer code = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setCode(code);
+ }
+
+
+ @Test
+ public void testGetMessage() throws Exception {
+ ErrorInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMessage();
+ }
+
+
+ @Test
+ public void testSetMessage() throws Exception {
+ ErrorInfo testSubject;
+ String message = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setMessage(message);
+ }
+
+
+ @Test
+ public void testGetMessageId() throws Exception {
+ ErrorInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getMessageId();
+ }
+
+
+ @Test
+ public void testSetMessageId() throws Exception {
+ ErrorInfo testSubject;
+ String messageId = "";
+
+ // test 1
+ testSubject = createTestSubject();
+ messageId = null;
+ testSubject.setMessageId(messageId);
+
+ // test 2
+ testSubject = createTestSubject();
+ messageId = "";
+ testSubject.setMessageId(messageId);
+ }
+
+
+ @Test
+ public void testGetErrorInfoType() throws Exception {
+ ErrorInfo testSubject;
+ ErrorInfoType result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getErrorInfoType();
+ }
+
+
+
+
+ @Test
+ public void testToString() throws Exception {
+ ErrorInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/be/config/Neo4jErrorsConfigurationTest.java b/common-app-api/src/test/java/org/openecomp/sdc/be/config/Neo4jErrorsConfigurationTest.java
new file mode 100644
index 0000000000..2c62d6677c
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/be/config/Neo4jErrorsConfigurationTest.java
@@ -0,0 +1,51 @@
+package org.openecomp.sdc.be.config;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class Neo4jErrorsConfigurationTest {
+
+ private Neo4jErrorsConfiguration createTestSubject() {
+ return new Neo4jErrorsConfiguration();
+ }
+
+
+ @Test
+ public void testGetErrors() throws Exception {
+ Neo4jErrorsConfiguration testSubject;
+ Map<String, String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getErrors();
+ }
+
+
+ @Test
+ public void testSetErrors() throws Exception {
+ Neo4jErrorsConfiguration testSubject;
+ Map<String, String> errors = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setErrors(errors);
+ }
+
+
+
+
+
+ @Test
+ public void testToString() throws Exception {
+ Neo4jErrorsConfiguration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/be/config/validation/DeploymentArtifactHeatConfigurationTest.java b/common-app-api/src/test/java/org/openecomp/sdc/be/config/validation/DeploymentArtifactHeatConfigurationTest.java
new file mode 100644
index 0000000000..616dbf9491
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/be/config/validation/DeploymentArtifactHeatConfigurationTest.java
@@ -0,0 +1,59 @@
+package org.openecomp.sdc.be.config.validation;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class DeploymentArtifactHeatConfigurationTest {
+
+ private DeploymentArtifactHeatConfiguration createTestSubject() {
+ return new DeploymentArtifactHeatConfiguration();
+ }
+
+
+ @Test
+ public void testGetHeat_template_version() throws Exception {
+ DeploymentArtifactHeatConfiguration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHeat_template_version();
+ }
+
+
+ @Test
+ public void testSetHeat_template_version() throws Exception {
+ DeploymentArtifactHeatConfiguration testSubject;
+ String heat_template_version = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHeat_template_version(heat_template_version);
+ }
+
+
+ @Test
+ public void testGetResources() throws Exception {
+ DeploymentArtifactHeatConfiguration testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResources();
+ }
+
+
+ @Test
+ public void testSetResources() throws Exception {
+ DeploymentArtifactHeatConfiguration testSubject;
+ Map<String, Object> resources = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResources(resources);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactGroupTypeEnumTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactGroupTypeEnumTest.java
new file mode 100644
index 0000000000..ef313377c6
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactGroupTypeEnumTest.java
@@ -0,0 +1,56 @@
+package org.openecomp.sdc.common.api;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ArtifactGroupTypeEnumTest {
+
+ private ArtifactGroupTypeEnum createTestSubject() {
+ return ArtifactGroupTypeEnum.DEPLOYMENT;
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ ArtifactGroupTypeEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ ArtifactGroupTypeEnum testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testFindType() throws Exception {
+ String type = "";
+ ArtifactGroupTypeEnum result;
+
+ // default test
+ result = ArtifactGroupTypeEnum.findType(type);
+ }
+
+
+ @Test
+ public void testGetAllTypes() throws Exception {
+ List<String> result;
+
+ // default test
+ result = ArtifactGroupTypeEnum.getAllTypes();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactTypeEnumTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactTypeEnumTest.java
new file mode 100644
index 0000000000..466eb3bab2
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ArtifactTypeEnumTest.java
@@ -0,0 +1,56 @@
+package org.openecomp.sdc.common.api;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ArtifactTypeEnumTest {
+
+ private ArtifactTypeEnum createTestSubject() {
+ return ArtifactTypeEnum.AAI_SERVICE_MODEL;
+ }
+
+
+ @Test
+ public void testGetType() throws Exception {
+ ArtifactTypeEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getType();
+ }
+
+
+ @Test
+ public void testSetType() throws Exception {
+ ArtifactTypeEnum testSubject;
+ String type = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setType(type);
+ }
+
+
+ @Test
+ public void testFindType() throws Exception {
+ String type = "";
+ ArtifactTypeEnum result;
+
+ // default test
+ result = ArtifactTypeEnum.findType(type);
+ }
+
+
+ @Test
+ public void testGetAllTypes() throws Exception {
+ List<String> result;
+
+ // default test
+ result = ArtifactTypeEnum.getAllTypes();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/api/HealthCheckInfoTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/api/HealthCheckInfoTest.java
new file mode 100644
index 0000000000..7d2e3de68a
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/api/HealthCheckInfoTest.java
@@ -0,0 +1,114 @@
+package org.openecomp.sdc.common.api;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.common.api.HealthCheckInfo.HealthCheckComponent;
+import org.openecomp.sdc.common.api.HealthCheckInfo.HealthCheckStatus;
+
+
+public class HealthCheckInfoTest {
+
+ private HealthCheckInfo createTestSubject() {
+ return new HealthCheckInfo(null, null, "", "");
+ }
+
+
+ @Test
+ public void testGetHealthCheckComponent() throws Exception {
+ HealthCheckInfo testSubject;
+ HealthCheckComponent result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHealthCheckComponent();
+ }
+
+
+ @Test
+ public void testGetHealthCheckStatus() throws Exception {
+ HealthCheckInfo testSubject;
+ HealthCheckStatus result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHealthCheckStatus();
+ }
+
+
+ @Test
+ public void testGetComponentsInfo() throws Exception {
+ HealthCheckInfo testSubject;
+ List<HealthCheckInfo> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getComponentsInfo();
+ }
+
+
+ @Test
+ public void testSetComponentsInfo() throws Exception {
+ HealthCheckInfo testSubject;
+ List<HealthCheckInfo> componentsInfo = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setComponentsInfo(componentsInfo);
+ }
+
+
+ @Test
+ public void testGetVersion() throws Exception {
+ HealthCheckInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVersion();
+ }
+
+
+ @Test
+ public void testSetVersion() throws Exception {
+ HealthCheckInfo testSubject;
+ String version = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVersion(version);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ HealthCheckInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ HealthCheckInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testMain() throws Exception {
+ String[] args = new String[] { "" };
+
+ // default test
+ HealthCheckInfo.main(args);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/api/ResponseInfoTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ResponseInfoTest.java
new file mode 100644
index 0000000000..50c53d0587
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ResponseInfoTest.java
@@ -0,0 +1,61 @@
+package org.openecomp.sdc.common.api;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.common.api.ResponseInfo.ResponseStatusEnum;
+
+
+public class ResponseInfoTest {
+
+ private ResponseInfo createTestSubject() {
+ return new ResponseInfo(null, "");
+ }
+
+
+ @Test
+ public void testGetApplicativeStatus() throws Exception {
+ ResponseInfo testSubject;
+ ResponseStatusEnum result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getApplicativeStatus();
+ }
+
+
+ @Test
+ public void testSetApplicativeStatus() throws Exception {
+ ResponseInfo testSubject;
+ ResponseStatusEnum applicativeStatus = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setApplicativeStatus(applicativeStatus);
+ }
+
+
+ @Test
+ public void testGetDescription() throws Exception {
+ ResponseInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDescription();
+ }
+
+
+ @Test
+ public void testSetDescription() throws Exception {
+ ResponseInfo testSubject;
+ String description = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDescription(description);
+ }
+
+
+
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/api/ToscaNodeTypeInfoTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ToscaNodeTypeInfoTest.java
new file mode 100644
index 0000000000..0a83b8ec61
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ToscaNodeTypeInfoTest.java
@@ -0,0 +1,136 @@
+package org.openecomp.sdc.common.api;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ToscaNodeTypeInfoTest {
+
+ private ToscaNodeTypeInfo createTestSubject() {
+ return new ToscaNodeTypeInfo();
+ }
+
+
+ @Test
+ public void testGetTemplateName() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTemplateName();
+ }
+
+
+ @Test
+ public void testSetTemplateName() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String templateName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTemplateName(templateName);
+ }
+
+
+ @Test
+ public void testGetNodeName() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getNodeName();
+ }
+
+
+ @Test
+ public void testSetNodeName() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String nodeName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setNodeName(nodeName);
+ }
+
+
+ @Test
+ public void testGetTemplateVersion() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTemplateVersion();
+ }
+
+
+ @Test
+ public void testSetTemplateVersion() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String templateVersion = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTemplateVersion(templateVersion);
+ }
+
+
+ @Test
+ public void testGetInterfaces() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ List<ToscaNodeTypeInterface> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getInterfaces();
+ }
+
+
+ @Test
+ public void testSetInterfaces() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ List<ToscaNodeTypeInterface> interfaces = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setInterfaces(interfaces);
+ }
+
+
+ @Test
+ public void testGetIconPath() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIconPath();
+ }
+
+
+ @Test
+ public void testSetIconPath() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String iconPath = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIconPath(iconPath);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ ToscaNodeTypeInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/api/ToscaNodeTypeInterfaceTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ToscaNodeTypeInterfaceTest.java
new file mode 100644
index 0000000000..7d14df9c6d
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/api/ToscaNodeTypeInterfaceTest.java
@@ -0,0 +1,37 @@
+package org.openecomp.sdc.common.api;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ToscaNodeTypeInterfaceTest {
+
+ private ToscaNodeTypeInterface createTestSubject() {
+ return new ToscaNodeTypeInterface();
+ }
+
+
+ @Test
+ public void testGetScripts() throws Exception {
+ ToscaNodeTypeInterface testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getScripts();
+ }
+
+
+ @Test
+ public void testSetScripts() throws Exception {
+ ToscaNodeTypeInterface testSubject;
+ List<String> scripts = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setScripts(scripts);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/api/YamlSuffixEnumTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/api/YamlSuffixEnumTest.java
new file mode 100644
index 0000000000..f731bb78fa
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/api/YamlSuffixEnumTest.java
@@ -0,0 +1,46 @@
+package org.openecomp.sdc.common.api;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class YamlSuffixEnumTest {
+
+ private YamlSuffixEnum createTestSubject() {
+ return YamlSuffixEnum.YAML;
+ }
+
+
+ @Test
+ public void testGetSuffix() throws Exception {
+ YamlSuffixEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSuffix();
+ }
+
+
+ @Test
+ public void testSetSuufix() throws Exception {
+ YamlSuffixEnum testSubject;
+ String suffix = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSuufix(suffix);
+ }
+
+
+ @Test
+ public void testGetSuffixes() throws Exception {
+ List<String> result;
+
+ // default test
+ result = YamlSuffixEnum.getSuffixes();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/AuditingFieldsKeysEnumTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/AuditingFieldsKeysEnumTest.java
new file mode 100644
index 0000000000..521f2e38d1
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/AuditingFieldsKeysEnumTest.java
@@ -0,0 +1,46 @@
+package org.openecomp.sdc.common.datastructure;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class AuditingFieldsKeysEnumTest {
+
+ private AuditingFieldsKeysEnum createTestSubject() {
+ return AuditingFieldsKeysEnum.AUDIT_ACTION;
+ }
+
+
+ @Test
+ public void testGetValueClass() throws Exception {
+ AuditingFieldsKeysEnum testSubject;
+ Class<?> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValueClass();
+ }
+
+
+ @Test
+ public void testGetDisplayName() throws Exception {
+ AuditingFieldsKeysEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDisplayName();
+ }
+
+
+ @Test
+ public void testSetDisplayName() throws Exception {
+ AuditingFieldsKeysEnum testSubject;
+ String displayName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDisplayName(displayName);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/ESTimeBasedEventTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/ESTimeBasedEventTest.java
new file mode 100644
index 0000000000..2826b49c66
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/ESTimeBasedEventTest.java
@@ -0,0 +1,119 @@
+package org.openecomp.sdc.common.datastructure;
+
+import java.util.Map;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class ESTimeBasedEventTest {
+
+ private ESTimeBasedEvent createTestSubject() {
+ return new ESTimeBasedEvent();
+ }
+
+
+
+
+ @Test
+ public void testCalculateYearIndexSuffix() throws Exception {
+ ESTimeBasedEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.calculateYearIndexSuffix();
+ }
+
+
+ @Test
+ public void testCalculateMonthIndexSuffix() throws Exception {
+ ESTimeBasedEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.calculateMonthIndexSuffix();
+ }
+
+
+ @Test
+ public void testCalculateDayIndexSuffix() throws Exception {
+ ESTimeBasedEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.calculateDayIndexSuffix();
+ }
+
+
+ @Test
+ public void testCalculateHourIndexSuffix() throws Exception {
+ ESTimeBasedEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.calculateHourIndexSuffix();
+ }
+
+
+ @Test
+ public void testCalculateMinuteIndexSuffix() throws Exception {
+ ESTimeBasedEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.calculateMinuteIndexSuffix();
+ }
+
+
+
+
+
+ @Test
+ public void testGetTimestamp() throws Exception {
+ ESTimeBasedEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getTimestamp();
+ }
+
+
+ @Test
+ public void testSetTimestamp() throws Exception {
+ ESTimeBasedEvent testSubject;
+ String timestamp = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setTimestamp(timestamp);
+ }
+
+
+ @Test
+ public void testGetFields() throws Exception {
+ ESTimeBasedEvent testSubject;
+ Map<String, Object> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFields();
+ }
+
+
+ @Test
+ public void testSetFields() throws Exception {
+ ESTimeBasedEvent testSubject;
+ Map<String, Object> fields = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFields(fields);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/MonitoringFieldsKeysEnumTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/MonitoringFieldsKeysEnumTest.java
new file mode 100644
index 0000000000..272c9d1796
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/MonitoringFieldsKeysEnumTest.java
@@ -0,0 +1,46 @@
+package org.openecomp.sdc.common.datastructure;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class MonitoringFieldsKeysEnumTest {
+
+ private MonitoringFieldsKeysEnum createTestSubject() {
+ return MonitoringFieldsKeysEnum.MONITORING_APP_ID;
+ }
+
+
+ @Test
+ public void testGetValueClass() throws Exception {
+ MonitoringFieldsKeysEnum testSubject;
+ Class<?> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getValueClass();
+ }
+
+
+ @Test
+ public void testGetDisplayName() throws Exception {
+ MonitoringFieldsKeysEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getDisplayName();
+ }
+
+
+ @Test
+ public void testSetDisplayName() throws Exception {
+ MonitoringFieldsKeysEnum testSubject;
+ String displayName = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setDisplayName(displayName);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/WrapperTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/WrapperTest.java
new file mode 100644
index 0000000000..eac9196b75
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/datastructure/WrapperTest.java
@@ -0,0 +1,26 @@
+package org.openecomp.sdc.common.datastructure;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class WrapperTest {
+
+ private Wrapper createTestSubject() {
+ return new Wrapper(null);
+ }
+
+
+
+
+ @Test
+ public void testIsEmpty() throws Exception {
+ Wrapper testSubject;
+ boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.isEmpty();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/monitoring/MonitoringEventTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/monitoring/MonitoringEventTest.java
new file mode 100644
index 0000000000..2e64590ccc
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/monitoring/MonitoringEventTest.java
@@ -0,0 +1,244 @@
+package org.openecomp.sdc.common.monitoring;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class MonitoringEventTest {
+
+ private MonitoringEvent createTestSubject() {
+ return new MonitoringEvent();
+ }
+
+
+ @Test
+ public void testGetHostid() throws Exception {
+ MonitoringEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHostid();
+ }
+
+
+ @Test
+ public void testSetHostid() throws Exception {
+ MonitoringEvent testSubject;
+ String hostid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHostid(hostid);
+ }
+
+
+ @Test
+ public void testGetHostcpu() throws Exception {
+ MonitoringEvent testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHostcpu();
+ }
+
+
+ @Test
+ public void testSetHostcpu() throws Exception {
+ MonitoringEvent testSubject;
+ Long hostcpu = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHostcpu(hostcpu);
+ }
+
+
+ @Test
+ public void testGetHostmem() throws Exception {
+ MonitoringEvent testSubject;
+ Double result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHostmem();
+ }
+
+
+ @Test
+ public void testSetHostmem() throws Exception {
+ MonitoringEvent testSubject;
+ Double hostmem = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHostmem(hostmem);
+ }
+
+
+ @Test
+ public void testGetHostdisk() throws Exception {
+ MonitoringEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHostdisk();
+ }
+
+
+ @Test
+ public void testSetHostdisk() throws Exception {
+ MonitoringEvent testSubject;
+ String hostdisk = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHostdisk(hostdisk);
+ }
+
+
+ @Test
+ public void testGetJvmid() throws Exception {
+ MonitoringEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getJvmid();
+ }
+
+
+ @Test
+ public void testSetJvmid() throws Exception {
+ MonitoringEvent testSubject;
+ String jvmid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setJvmid(jvmid);
+ }
+
+
+ @Test
+ public void testGetJvmcpu() throws Exception {
+ MonitoringEvent testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getJvmcpu();
+ }
+
+
+ @Test
+ public void testSetJvmcpu() throws Exception {
+ MonitoringEvent testSubject;
+ Long jvmcpu = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setJvmcpu(jvmcpu);
+ }
+
+
+ @Test
+ public void testGetJvmmem() throws Exception {
+ MonitoringEvent testSubject;
+ Long result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getJvmmem();
+ }
+
+
+ @Test
+ public void testSetJvmmem() throws Exception {
+ MonitoringEvent testSubject;
+ Long jvmmem = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setJvmmem(jvmmem);
+ }
+
+
+ @Test
+ public void testGetJvmtnum() throws Exception {
+ MonitoringEvent testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getJvmtnum();
+ }
+
+
+ @Test
+ public void testSetJvmtnum() throws Exception {
+ MonitoringEvent testSubject;
+ Integer jvmtnum = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setJvmtnum(jvmtnum);
+ }
+
+
+ @Test
+ public void testGetAppid() throws Exception {
+ MonitoringEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAppid();
+ }
+
+
+ @Test
+ public void testSetAppid() throws Exception {
+ MonitoringEvent testSubject;
+ String appid = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAppid(appid);
+ }
+
+
+ @Test
+ public void testGetAppstat() throws Exception {
+ MonitoringEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getAppstat();
+ }
+
+
+ @Test
+ public void testSetAppstat() throws Exception {
+ MonitoringEvent testSubject;
+ String appstat = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setAppstat(appstat);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ MonitoringEvent testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestConfigurationInfoTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestConfigurationInfoTest.java
new file mode 100644
index 0000000000..89309e7c03
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestConfigurationInfoTest.java
@@ -0,0 +1,112 @@
+package org.openecomp.sdc.common.rest.api;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class RestConfigurationInfoTest {
+
+ private RestConfigurationInfo createTestSubject() {
+ return new RestConfigurationInfo();
+ }
+
+
+ @Test
+ public void testGetReadTimeoutInSec() throws Exception {
+ RestConfigurationInfo testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReadTimeoutInSec();
+ }
+
+
+ @Test
+ public void testSetReadTimeoutInSec() throws Exception {
+ RestConfigurationInfo testSubject;
+ Integer readTimeoutInSec = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReadTimeoutInSec(readTimeoutInSec);
+ }
+
+
+ @Test
+ public void testGetIgnoreCertificate() throws Exception {
+ RestConfigurationInfo testSubject;
+ Boolean result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIgnoreCertificate();
+ }
+
+
+ @Test
+ public void testSetIgnoreCertificate() throws Exception {
+ RestConfigurationInfo testSubject;
+ Boolean ignoreCertificate = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIgnoreCertificate(ignoreCertificate);
+ }
+
+
+ @Test
+ public void testGetConnectionPoolSize() throws Exception {
+ RestConfigurationInfo testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConnectionPoolSize();
+ }
+
+
+ @Test
+ public void testSetConnectionPoolSize() throws Exception {
+ RestConfigurationInfo testSubject;
+ Integer connectionPoolSize = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConnectionPoolSize(connectionPoolSize);
+ }
+
+
+ @Test
+ public void testGetConnectTimeoutInSec() throws Exception {
+ RestConfigurationInfo testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConnectTimeoutInSec();
+ }
+
+
+ @Test
+ public void testSetConnectTimeoutInSec() throws Exception {
+ RestConfigurationInfo testSubject;
+ Integer connectTimeoutInSec = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConnectTimeoutInSec(connectTimeoutInSec);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ RestConfigurationInfo testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestResponseAsByteArrayTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestResponseAsByteArrayTest.java
new file mode 100644
index 0000000000..a01c761072
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestResponseAsByteArrayTest.java
@@ -0,0 +1,101 @@
+package org.openecomp.sdc.common.rest.api;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class RestResponseAsByteArrayTest {
+
+ private RestResponseAsByteArray createTestSubject() {
+ return new RestResponseAsByteArray(null, "", 0);
+ }
+
+
+ @Test
+ public void testGetResponse() throws Exception {
+ RestResponseAsByteArray testSubject;
+ byte[] result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResponse();
+ }
+
+
+ @Test
+ public void testSetResponse() throws Exception {
+ RestResponseAsByteArray testSubject;
+ byte[] response = new byte[] { ' ' };
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResponse(response);
+ }
+
+
+ @Test
+ public void testGetHttpStatusCode() throws Exception {
+ RestResponseAsByteArray testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHttpStatusCode();
+ }
+
+
+ @Test
+ public void testSetHttpStatusCode() throws Exception {
+ RestResponseAsByteArray testSubject;
+ int httpStatusCode = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHttpStatusCode(httpStatusCode);
+ }
+
+
+ @Test
+ public void testGetStatusDescription() throws Exception {
+ RestResponseAsByteArray testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatusDescription();
+ }
+
+
+ @Test
+ public void testSetStatusDescription() throws Exception {
+ RestResponseAsByteArray testSubject;
+ String statusDescription = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatusDescription(statusDescription);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ RestResponseAsByteArray testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+
+
+ @Test
+ public void testToPrettyString() throws Exception {
+ RestResponseAsByteArray testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toPrettyString();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestResponseTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestResponseTest.java
new file mode 100644
index 0000000000..c7fe36581d
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/rest/api/RestResponseTest.java
@@ -0,0 +1,90 @@
+package org.openecomp.sdc.common.rest.api;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class RestResponseTest {
+
+ private RestResponse createTestSubject() {
+ return new RestResponse("", "", 0);
+ }
+
+
+ @Test
+ public void testGetResponse() throws Exception {
+ RestResponse testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getResponse();
+ }
+
+
+ @Test
+ public void testSetResponse() throws Exception {
+ RestResponse testSubject;
+ String response = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setResponse(response);
+ }
+
+
+ @Test
+ public void testGetHttpStatusCode() throws Exception {
+ RestResponse testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHttpStatusCode();
+ }
+
+
+ @Test
+ public void testSetHttpStatusCode() throws Exception {
+ RestResponse testSubject;
+ int httpStatusCode = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHttpStatusCode(httpStatusCode);
+ }
+
+
+ @Test
+ public void testGetStatusDescription() throws Exception {
+ RestResponse testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getStatusDescription();
+ }
+
+
+ @Test
+ public void testSetStatusDescription() throws Exception {
+ RestResponse testSubject;
+ String statusDescription = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setStatusDescription(statusDescription);
+ }
+
+
+ @Test
+ public void testToString() throws Exception {
+ RestResponse testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/util/CapabilityTypeNameEnumTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/util/CapabilityTypeNameEnumTest.java
new file mode 100644
index 0000000000..405da1076c
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/util/CapabilityTypeNameEnumTest.java
@@ -0,0 +1,24 @@
+package org.openecomp.sdc.common.util;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+
+public class CapabilityTypeNameEnumTest {
+
+ private CapabilityTypeNameEnum createTestSubject() {
+ return CapabilityTypeNameEnum.ATTACHMENT;
+ }
+
+
+ @Test
+ public void testGetCapabilityName() throws Exception {
+ CapabilityTypeNameEnum testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getCapabilityName();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/util/GeneralUtilityTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/util/GeneralUtilityTest.java
new file mode 100644
index 0000000000..f574accd13
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/util/GeneralUtilityTest.java
@@ -0,0 +1,126 @@
+package org.openecomp.sdc.common.util;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+
+public class GeneralUtilityTest {
+
+ private GeneralUtility createTestSubject() {
+ return new GeneralUtility();
+ }
+
+
+ @Test
+ public void testGenerateTextFile() throws Exception {
+ String fileName = "";
+ String fileData = "";
+ boolean result;
+
+ // default test
+ result = GeneralUtility.generateTextFile(fileName, fileData);
+ }
+
+
+ @Test
+ public void testIsBase64Encoded() throws Exception {
+ byte[] data = new byte[] { ' ' };
+ boolean result;
+
+ // default test
+ result = GeneralUtility.isBase64Encoded(data);
+ }
+
+
+ @Test
+ public void testIsBase64Encoded_1() throws Exception {
+ String str = "";
+ boolean result;
+
+ // default test
+ result = GeneralUtility.isBase64Encoded(str);
+ }
+
+
+ @Test
+ public void testIsExceedingLimit() throws Exception {
+ String str = "";
+ int limit = 0;
+ boolean result;
+
+ // test 1
+ str = null;
+ result = GeneralUtility.isExceedingLimit(str, limit);
+ Assert.assertEquals(false, result);
+
+ // test 2
+ str = "";
+ result = GeneralUtility.isExceedingLimit(str, limit);
+ Assert.assertEquals(false, result);
+ }
+
+
+ @Test
+ public void testIsExceedingLimit_1() throws Exception {
+ List<String> strList = null;
+ int limit = 0;
+ int delimiterLength = 0;
+ boolean result;
+
+ // test 1
+ strList = null;
+ result = GeneralUtility.isExceedingLimit(strList, limit, delimiterLength);
+ Assert.assertEquals(false, result);
+ }
+
+
+ @Test
+ public void testGetFilenameExtension() throws Exception {
+ String fileName = "";
+ String result;
+
+ // test 1
+ fileName = null;
+ result = GeneralUtility.getFilenameExtension(fileName);
+ Assert.assertEquals("", result);
+
+ // test 2
+ fileName = "";
+ result = GeneralUtility.getFilenameExtension(fileName);
+ Assert.assertEquals("", result);
+ }
+
+
+ @Test
+ public void testCalculateMD5Base64EncodedByByteArray() throws Exception {
+ byte[] payload = new byte[] { ' ' };
+ String result;
+
+ // default test
+ result = GeneralUtility.calculateMD5Base64EncodedByByteArray(payload);
+ }
+
+
+ @Test
+ public void testCalculateMD5Base64EncodedByString() throws Exception {
+ String data = "";
+ String result;
+
+ // default test
+ result = GeneralUtility.calculateMD5Base64EncodedByString(data);
+ }
+
+
+ @Test
+ public void testIsEmptyString() throws Exception {
+ String str = "";
+ boolean result;
+
+ // default test
+ result = GeneralUtility.isEmptyString(str);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/util/GsonFactoryTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/util/GsonFactoryTest.java
new file mode 100644
index 0000000000..c11ccb79ce
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/util/GsonFactoryTest.java
@@ -0,0 +1,24 @@
+package org.openecomp.sdc.common.util;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+
+import com.google.gson.Gson;
+
+
+public class GsonFactoryTest {
+
+ private GsonFactory createTestSubject() {
+ return new GsonFactory();
+ }
+
+
+ @Test
+ public void testGetGson() throws Exception {
+ Gson result;
+
+ // default test
+ result = GsonFactory.getGson();
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/common/util/ValidationUtilsTest.java b/common-app-api/src/test/java/org/openecomp/sdc/common/util/ValidationUtilsTest.java
new file mode 100644
index 0000000000..2c4e0b7f00
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/common/util/ValidationUtilsTest.java
@@ -0,0 +1,605 @@
+package org.openecomp.sdc.common.util;
+
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Assert;
+import org.junit.Test;
+
+
+public class ValidationUtilsTest {
+
+ private ValidationUtils createTestSubject() {
+ return new ValidationUtils();
+ }
+
+
+ @Test
+ public void testValidateArtifactLabel() throws Exception {
+ String label = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateArtifactLabel(label);
+ }
+
+
+ @Test
+ public void testValidateArtifactDisplayName() throws Exception {
+ String displayName = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateArtifactDisplayName(displayName);
+ }
+
+
+
+
+ @Test
+ public void testNormalizeCategoryName4Display() throws Exception {
+ String str = "";
+ String result;
+
+ // test 1
+ str = "123";
+ result = ValidationUtils.normalizeCategoryName4Display(str);
+ Assert.assertEquals("123", result);
+
+ // test 2
+ str = "123#123";
+ result = ValidationUtils.normalizeCategoryName4Display(str);
+ Assert.assertEquals("123#123", result);
+ }
+
+
+ @Test
+ public void testNormalizeCategoryName4Uniqueness() throws Exception {
+ String str = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.normalizeCategoryName4Uniqueness(str);
+ }
+
+
+ @Test
+ public void testValidateCategoryDisplayNameLength() throws Exception {
+ String label = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateCategoryDisplayNameLength(label);
+ }
+
+
+ @Test
+ public void testValidateProductFullNameLength() throws Exception {
+ String fullName = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateProductFullNameLength(fullName);
+ }
+
+
+ @Test
+ public void testValidateArtifactLabelLength() throws Exception {
+ String label = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateArtifactLabelLength(label);
+ }
+
+
+ @Test
+ public void testValidateResourceInstanceNameLength() throws Exception {
+ String resourceInstanceName = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateResourceInstanceNameLength(resourceInstanceName);
+ }
+
+
+ @Test
+ public void testValidateResourceInstanceName() throws Exception {
+ String resourceInstanceName = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateResourceInstanceName(resourceInstanceName);
+ }
+
+
+ @Test
+ public void testValidateUrlLength() throws Exception {
+ String url = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateUrlLength(url);
+ }
+
+
+ @Test
+ public void testValidateArtifactNameLength() throws Exception {
+ String artifactName = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateArtifactNameLength(artifactName);
+ }
+
+
+ @Test
+ public void testValidateComponentNamePattern() throws Exception {
+ String componentName = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateComponentNamePattern(componentName);
+ }
+
+
+ @Test
+ public void testValidateComponentNameLength() throws Exception {
+ String componentName = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateComponentNameLength(componentName);
+ }
+
+
+ @Test
+ public void testValidateIcon() throws Exception {
+ String icon = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateIcon(icon);
+ }
+
+
+ @Test
+ public void testValidateIconLength() throws Exception {
+ String icon = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateIconLength(icon);
+ }
+
+
+ @Test
+ public void testValidateProjectCode() throws Exception {
+ String projectCode = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateProjectCode(projectCode);
+ }
+
+
+ @Test
+ public void testValidateProjectCodeLegth() throws Exception {
+ String projectCode = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateProjectCodeLegth(projectCode);
+ }
+
+
+ @Test
+ public void testValidateContactId() throws Exception {
+ String contactId = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateContactId(contactId);
+ }
+
+
+ @Test
+ public void testValidateCost() throws Exception {
+ String cost = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateCost(cost);
+ }
+
+
+ @Test
+ public void testRemoveHtmlTags() throws Exception {
+ String str = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.removeHtmlTags(str);
+ }
+
+
+ @Test
+ public void testRemoveAllTags() throws Exception {
+ String htmlText = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.removeAllTags(htmlText);
+ }
+
+
+ @Test
+ public void testNormaliseWhitespace() throws Exception {
+ String str = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.normaliseWhitespace(str);
+ }
+
+
+ @Test
+ public void testStripOctets() throws Exception {
+ String str = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.stripOctets(str);
+ }
+
+
+ @Test
+ public void testRemoveNoneUtf8Chars() throws Exception {
+ String input = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.removeNoneUtf8Chars(input);
+ }
+
+
+ @Test
+ public void testValidateIsEnglish() throws Exception {
+ String input = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateIsEnglish(input);
+ }
+
+
+ @Test
+ public void testValidateIsAscii() throws Exception {
+ String input = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateIsAscii(input);
+ }
+
+
+ @Test
+ public void testConvertHtmlTagsToEntities() throws Exception {
+ String input = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.convertHtmlTagsToEntities(input);
+ }
+
+
+
+
+
+
+
+
+ @Test
+ public void testValidateTagListLength() throws Exception {
+ int tagListLength = 0;
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateTagListLength(tagListLength);
+ }
+
+
+ @Test
+ public void testValidateDescriptionLength() throws Exception {
+ String description = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateDescriptionLength(description);
+ }
+
+
+ @Test
+ public void testValidateStringNotEmpty() throws Exception {
+ String value = "";
+ boolean result;
+
+ // test 1
+ value = null;
+ result = ValidationUtils.validateStringNotEmpty(value);
+ Assert.assertEquals(false, result);
+
+ // test 2
+ value = "";
+ result = ValidationUtils.validateStringNotEmpty(value);
+ Assert.assertEquals(false, result);
+ }
+
+
+ @Test
+ public void testValidateListNotEmpty() throws Exception {
+ List<?> list = null;
+ boolean result;
+
+ // test 1
+ list = null;
+ result = ValidationUtils.validateListNotEmpty(list);
+ Assert.assertEquals(false, result);
+ }
+
+
+ @Test
+ public void testValidateVendorName() throws Exception {
+ String vendorName = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateVendorName(vendorName);
+ }
+
+
+ @Test
+ public void testValidateVendorNameLength() throws Exception {
+ String vendorName = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateVendorNameLength(vendorName);
+ }
+
+
+ @Test
+ public void testValidateResourceVendorModelNumberLength() throws Exception {
+ String resourceVendorModelNumber = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateResourceVendorModelNumberLength(resourceVendorModelNumber);
+ }
+
+
+ @Test
+ public void testValidateVendorRelease() throws Exception {
+ String vendorRelease = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateVendorRelease(vendorRelease);
+ }
+
+
+ @Test
+ public void testValidateVendorReleaseLength() throws Exception {
+ String vendorRelease = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateVendorReleaseLength(vendorRelease);
+ }
+
+
+ @Test
+ public void testValidateServiceTypeLength() throws Exception {
+ String serviceType = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateServiceTypeLength(serviceType);
+ }
+
+
+ @Test
+ public void testValidateServiceRoleLength() throws Exception {
+ String serviceRole = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateServiceRoleLength(serviceRole);
+ }
+
+
+ @Test
+ public void testHasBeenCertified() throws Exception {
+ String version = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.hasBeenCertified(version);
+ }
+
+
+ @Test
+ public void testNormaliseComponentName() throws Exception {
+ String name = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.normaliseComponentName(name);
+ }
+
+
+ @Test
+ public void testNormalizeComponentInstanceName() throws Exception {
+ String name = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.normalizeComponentInstanceName(name);
+ }
+
+
+
+
+
+ @Test
+ public void testConvertToSystemName() throws Exception {
+ String name = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.convertToSystemName(name);
+ }
+
+
+ @Test
+ public void testNormalizeFileName() throws Exception {
+ String filename = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.normalizeFileName(filename);
+ }
+
+
+
+
+
+ @Test
+ public void testValidateUrl() throws Exception {
+ String url = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateUrl(url);
+ }
+
+
+ @Test
+ public void testCleanArtifactDisplayName() throws Exception {
+ String strIn = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.cleanArtifactDisplayName(strIn);
+ }
+
+
+ @Test
+ public void testNormalizeArtifactLabel() throws Exception {
+ String strIn = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.normalizeArtifactLabel(strIn);
+ }
+
+
+ @Test
+ public void testValidateAdditionalInformationKeyName() throws Exception {
+ String str = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateAdditionalInformationKeyName(str);
+ }
+
+
+
+
+
+
+
+
+ @Test
+ public void testValidateConsumerName() throws Exception {
+ String consumerName = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateConsumerName(consumerName);
+ }
+
+
+ @Test
+ public void testIsUTF8Str() throws Exception {
+ String str = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.isUTF8Str(str);
+ }
+
+
+ @Test
+ public void testValidateConsumerPassSalt() throws Exception {
+ String consumerSalt = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateConsumerPassSalt(consumerSalt);
+ }
+
+
+ @Test
+ public void testIsFloatNumber() throws Exception {
+ String number = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.isFloatNumber(number);
+ }
+
+
+ @Test
+ public void testValidateCertifiedVersion() throws Exception {
+ String version = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateCertifiedVersion(version);
+ }
+
+
+ @Test
+ public void testValidateMinorVersion() throws Exception {
+ String version = "";
+ boolean result;
+
+ // default test
+ result = ValidationUtils.validateMinorVersion(version);
+ }
+
+
+ @Test
+ public void testNormaliseProductName() throws Exception {
+ String name = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.normaliseProductName(name);
+ }
+
+
+
+
+
+ @Test
+ public void testRemoveHtmlTagsOnly() throws Exception {
+ String htmlText = "";
+ String result;
+
+ // default test
+ result = ValidationUtils.removeHtmlTagsOnly(htmlText);
+ }
+} \ No newline at end of file
diff --git a/common-app-api/src/test/java/org/openecomp/sdc/fe/config/ConfigurationTest.java b/common-app-api/src/test/java/org/openecomp/sdc/fe/config/ConfigurationTest.java
new file mode 100644
index 0000000000..d034f2ddfa
--- /dev/null
+++ b/common-app-api/src/test/java/org/openecomp/sdc/fe/config/ConfigurationTest.java
@@ -0,0 +1,543 @@
+package org.openecomp.sdc.fe.config;
+
+import java.util.Date;
+import java.util.List;
+
+import javax.annotation.Generated;
+
+import org.junit.Test;
+import org.openecomp.sdc.be.config.Configuration.OnboardingConfig;
+import org.openecomp.sdc.fe.config.Configuration.FeMonitoringConfig;
+
+
+public class ConfigurationTest {
+
+ private Configuration createTestSubject() {
+ return new Configuration();
+ }
+
+
+ @Test
+ public void testGetKibanaProtocol() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKibanaProtocol();
+ }
+
+
+ @Test
+ public void testSetKibanaProtocol() throws Exception {
+ Configuration testSubject;
+ String kibanaProtocol = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setKibanaProtocol(kibanaProtocol);
+ }
+
+
+ @Test
+ public void testGetKibanaHost() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKibanaHost();
+ }
+
+
+ @Test
+ public void testSetKibanaHost() throws Exception {
+ Configuration testSubject;
+ String kibanaHost = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setKibanaHost(kibanaHost);
+ }
+
+
+ @Test
+ public void testGetKibanaPort() throws Exception {
+ Configuration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getKibanaPort();
+ }
+
+
+ @Test
+ public void testSetKibanaPort() throws Exception {
+ Configuration testSubject;
+ Integer kibanaPort = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setKibanaPort(kibanaPort);
+ }
+
+
+ @Test
+ public void testGetSystemMonitoring() throws Exception {
+ Configuration testSubject;
+ FeMonitoringConfig result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getSystemMonitoring();
+ }
+
+
+ @Test
+ public void testSetSystemMonitoring() throws Exception {
+ Configuration testSubject;
+ FeMonitoringConfig systemMonitoring = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setSystemMonitoring(systemMonitoring);
+ }
+
+
+ @Test
+ public void testGetHealthCheckSocketTimeoutInMs() throws Exception {
+ Configuration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHealthCheckSocketTimeoutInMs();
+ }
+
+
+ @Test
+ public void testGetHealthCheckSocketTimeoutInMs_1() throws Exception {
+ Configuration testSubject;
+ int defaultVal = 0;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHealthCheckSocketTimeoutInMs(defaultVal);
+ }
+
+
+ @Test
+ public void testSetHealthCheckSocketTimeoutInMs() throws Exception {
+ Configuration testSubject;
+ Integer healthCheckSocketTimeout = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHealthCheckSocketTimeoutInMs(healthCheckSocketTimeout);
+ }
+
+
+ @Test
+ public void testGetHealthCheckIntervalInSeconds() throws Exception {
+ Configuration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHealthCheckIntervalInSeconds();
+ }
+
+
+ @Test
+ public void testGetHealthCheckIntervalInSeconds_1() throws Exception {
+ Configuration testSubject;
+ int defaultVal = 0;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getHealthCheckIntervalInSeconds(defaultVal);
+ }
+
+
+ @Test
+ public void testSetHealthCheckIntervalInSeconds() throws Exception {
+ Configuration testSubject;
+ Integer healthCheckInterval = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setHealthCheckIntervalInSeconds(healthCheckInterval);
+ }
+
+
+ @Test
+ public void testGetReleased() throws Exception {
+ Configuration testSubject;
+ Date result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getReleased();
+ }
+
+
+ @Test
+ public void testGetVersion() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getVersion();
+ }
+
+
+ @Test
+ public void testSetReleased() throws Exception {
+ Configuration testSubject;
+ Date released = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setReleased(released);
+ }
+
+
+ @Test
+ public void testSetVersion() throws Exception {
+ Configuration testSubject;
+ String version = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setVersion(version);
+ }
+
+
+ @Test
+ public void testGetConnection() throws Exception {
+ Configuration testSubject;
+ Connection result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getConnection();
+ }
+
+
+ @Test
+ public void testSetConnection() throws Exception {
+ Configuration testSubject;
+ Connection connection = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setConnection(connection);
+ }
+
+
+ @Test
+ public void testGetProtocols() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getProtocols();
+ }
+
+
+ @Test
+ public void testSetProtocols() throws Exception {
+ Configuration testSubject;
+ List<String> protocols = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setProtocols(protocols);
+ }
+
+
+ @Test
+ public void testGetBeHost() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBeHost();
+ }
+
+
+ @Test
+ public void testSetBeHost() throws Exception {
+ Configuration testSubject;
+ String beHost = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBeHost(beHost);
+ }
+
+
+ @Test
+ public void testGetBeHttpPort() throws Exception {
+ Configuration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBeHttpPort();
+ }
+
+
+ @Test
+ public void testSetBeHttpPort() throws Exception {
+ Configuration testSubject;
+ Integer beHttpPort = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBeHttpPort(beHttpPort);
+ }
+
+
+ @Test
+ public void testGetBeSslPort() throws Exception {
+ Configuration testSubject;
+ Integer result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBeSslPort();
+ }
+
+
+ @Test
+ public void testSetBeSslPort() throws Exception {
+ Configuration testSubject;
+ Integer beSslPort = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBeSslPort(beSslPort);
+ }
+
+
+ @Test
+ public void testGetBeContext() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBeContext();
+ }
+
+
+ @Test
+ public void testSetBeContext() throws Exception {
+ Configuration testSubject;
+ String beContext = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBeContext(beContext);
+ }
+
+
+ @Test
+ public void testGetBeProtocol() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getBeProtocol();
+ }
+
+
+ @Test
+ public void testSetBeProtocol() throws Exception {
+ Configuration testSubject;
+ String beProtocol = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setBeProtocol(beProtocol);
+ }
+
+
+ @Test
+ public void testGetThreadpoolSize() throws Exception {
+ Configuration testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getThreadpoolSize();
+ }
+
+
+ @Test
+ public void testSetThreadpoolSize() throws Exception {
+ Configuration testSubject;
+ int threadpoolSize = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setThreadpoolSize(threadpoolSize);
+ }
+
+
+ @Test
+ public void testGetRequestTimeout() throws Exception {
+ Configuration testSubject;
+ int result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getRequestTimeout();
+ }
+
+
+ @Test
+ public void testSetRequestTimeout() throws Exception {
+ Configuration testSubject;
+ int requestTimeout = 0;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setRequestTimeout(requestTimeout);
+ }
+
+
+ @Test
+ public void testGetIdentificationHeaderFields() throws Exception {
+ Configuration testSubject;
+ List<List<String>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getIdentificationHeaderFields();
+ }
+
+
+ @Test
+ public void testSetIdentificationHeaderFields() throws Exception {
+ Configuration testSubject;
+ List<List<String>> identificationHeaderFields = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setIdentificationHeaderFields(identificationHeaderFields);
+ }
+
+
+ @Test
+ public void testGetOptionalHeaderFields() throws Exception {
+ Configuration testSubject;
+ List<List<String>> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOptionalHeaderFields();
+ }
+
+
+ @Test
+ public void testSetOptionalHeaderFields() throws Exception {
+ Configuration testSubject;
+ List<List<String>> optionalHeaderFields = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOptionalHeaderFields(optionalHeaderFields);
+ }
+
+
+ @Test
+ public void testGetForwardHeaderFields() throws Exception {
+ Configuration testSubject;
+ List<String> result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getForwardHeaderFields();
+ }
+
+
+ @Test
+ public void testSetForwardHeaderFields() throws Exception {
+ Configuration testSubject;
+ List<String> forwardHeaderFields = null;
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setForwardHeaderFields(forwardHeaderFields);
+ }
+
+
+ @Test
+ public void testGetFeFqdn() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getFeFqdn();
+ }
+
+
+ @Test
+ public void testSetFeFqdn() throws Exception {
+ Configuration testSubject;
+ String feFqdn = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setFeFqdn(feFqdn);
+ }
+
+
+ @Test
+ public void testGetOnboardingForwardContext() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.getOnboardingForwardContext();
+ }
+
+
+ @Test
+ public void testSetOnboardingForwardContext() throws Exception {
+ Configuration testSubject;
+ String onboardingForwardContext = "";
+
+ // default test
+ testSubject = createTestSubject();
+ testSubject.setOnboardingForwardContext(onboardingForwardContext);
+ }
+
+
+
+
+
+
+
+
+ @Test
+ public void testToString() throws Exception {
+ Configuration testSubject;
+ String result;
+
+ // default test
+ testSubject = createTestSubject();
+ result = testSubject.toString();
+ }
+} \ No newline at end of file