diff options
Diffstat (limited to 'mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/VnfComponentsRecipeESTest.java')
-rw-r--r-- | mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/VnfComponentsRecipeESTest.java | 125 |
1 files changed, 125 insertions, 0 deletions
diff --git a/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/VnfComponentsRecipeESTest.java b/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/VnfComponentsRecipeESTest.java new file mode 100644 index 0000000000..651e7f72f4 --- /dev/null +++ b/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/VnfComponentsRecipeESTest.java @@ -0,0 +1,125 @@ +/* + * This file was automatically generated by EvoSuite + * Mon Nov 14 08:22:43 GMT 2016 + */ + +package org.openecomp.mso.db.catalog.beans; + +import org.junit.Test; +import static org.junit.Assert.*; + +import org.evosuite.runtime.EvoRunner; +import org.evosuite.runtime.EvoRunnerParameters; +import org.junit.runner.RunWith; + +@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true) +public class VnfComponentsRecipeESTest extends VnfComponentsRecipeESTestscaffolding { + + @Test(timeout = 4000) + public void test00() throws Throwable { + VnfComponentsRecipe vnfComponentsRecipe0 = new VnfComponentsRecipe(); + vnfComponentsRecipe0.setOrchestrationUri("{bpW{ ow"); + String string0 = vnfComponentsRecipe0.toString(); + assertEquals("RECIPE: null,uri={bpW{ ow,vnfComponentParamXSD=null,serviceType=null,vnfComponentType=null,vfModuleId=null", string0); + } + + @Test(timeout = 4000) + public void test01() throws Throwable { + VnfComponentsRecipe vnfComponentsRecipe0 = new VnfComponentsRecipe(); + vnfComponentsRecipe0.action = "(G:J?!6e"; + String string0 = vnfComponentsRecipe0.toString(); + assertEquals("RECIPE: (G:J?!6e,uri=null,vnfComponentParamXSD=null,serviceType=null,vnfComponentType=null,vfModuleId=null", string0); + } + + @Test(timeout = 4000) + public void test02() throws Throwable { + VnfComponentsRecipe vnfComponentsRecipe0 = new VnfComponentsRecipe(); + vnfComponentsRecipe0.setVnfType("RECIPE: null,uri=null,vnfComponentParamXSD=null,serviceType=null,vnfComponentType=null,vfModuleId=null"); + String string0 = vnfComponentsRecipe0.getVnfType(); + assertEquals("RECIPE: null,uri=null,vnfComponentParamXSD=null,serviceType=null,vnfComponentType=null,vfModuleId=null", string0); + } + + @Test(timeout = 4000) + public void test03() throws Throwable { + VnfComponentsRecipe vnfComponentsRecipe0 = new VnfComponentsRecipe(); + vnfComponentsRecipe0.setVnfType(""); + String string0 = vnfComponentsRecipe0.getVnfType(); + assertEquals("", string0); + } + + @Test(timeout = 4000) + public void test04() throws Throwable { + VnfComponentsRecipe vnfComponentsRecipe0 = new VnfComponentsRecipe(); + vnfComponentsRecipe0.setVnfComponentType("RECIPE: null,uri=null,vnfComponentParamXSD=null,serviceType=null,vnfComponentType=null,vfModuleId=null"); + String string0 = vnfComponentsRecipe0.getVnfComponentType(); + assertEquals("RECIPE: null,uri=null,vnfComponentParamXSD=null,serviceType=null,vnfComponentType=null,vfModuleId=null", string0); + } + + @Test(timeout = 4000) + public void test05() throws Throwable { + VnfComponentsRecipe vnfComponentsRecipe0 = new VnfComponentsRecipe(); + vnfComponentsRecipe0.setVnfComponentParamXSD("d'fp("); + String string0 = vnfComponentsRecipe0.getVnfComponentParamXSD(); + assertEquals("d'fp(", string0); + } + + @Test(timeout = 4000) + public void test06() throws Throwable { + VnfComponentsRecipe vnfComponentsRecipe0 = new VnfComponentsRecipe(); + vnfComponentsRecipe0.setVnfComponentParamXSD(""); + String string0 = vnfComponentsRecipe0.getVnfComponentParamXSD(); + assertEquals("", string0); + } + + @Test(timeout = 4000) + public void test07() throws Throwable { + VnfComponentsRecipe vnfComponentsRecipe0 = new VnfComponentsRecipe(); + vnfComponentsRecipe0.setVfModuleId("Wg>|PNS?"); + String string0 = vnfComponentsRecipe0.getVfModuleId(); + assertEquals("Wg>|PNS?", string0); + } + + @Test(timeout = 4000) + public void test08() throws Throwable { + VnfComponentsRecipe vnfComponentsRecipe0 = new VnfComponentsRecipe(); + String string0 = vnfComponentsRecipe0.getVfModuleId(); + assertNull(string0); + } + + @Test(timeout = 4000) + public void test09() throws Throwable { + VnfComponentsRecipe vnfComponentsRecipe0 = new VnfComponentsRecipe(); + String string0 = vnfComponentsRecipe0.getVnfType(); + assertNull(string0); + } + + @Test(timeout = 4000) + public void test10() throws Throwable { + VnfComponentsRecipe vnfComponentsRecipe0 = new VnfComponentsRecipe(); + vnfComponentsRecipe0.setVnfComponentType(""); + String string0 = vnfComponentsRecipe0.getVnfComponentType(); + assertEquals("", string0); + } + + @Test(timeout = 4000) + public void test11() throws Throwable { + VnfComponentsRecipe vnfComponentsRecipe0 = new VnfComponentsRecipe(); + String string0 = vnfComponentsRecipe0.getVnfComponentParamXSD(); + assertNull(string0); + } + + @Test(timeout = 4000) + public void test12() throws Throwable { + VnfComponentsRecipe vnfComponentsRecipe0 = new VnfComponentsRecipe(); + vnfComponentsRecipe0.setVfModuleId(""); + String string0 = vnfComponentsRecipe0.getVfModuleId(); + assertEquals("", string0); + } + + @Test(timeout = 4000) + public void test13() throws Throwable { + VnfComponentsRecipe vnfComponentsRecipe0 = new VnfComponentsRecipe(); + String string0 = vnfComponentsRecipe0.getVnfComponentType(); + assertNull(string0); + } +} |