diff options
Diffstat (limited to 'mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/NetworkRecipeESTest.java')
-rw-r--r-- | mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/NetworkRecipeESTest.java | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/NetworkRecipeESTest.java b/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/NetworkRecipeESTest.java new file mode 100644 index 0000000000..4d7d131b00 --- /dev/null +++ b/mso-catalog-db/src/test/java/org/openecomp/mso/db/catalog/beans/NetworkRecipeESTest.java @@ -0,0 +1,79 @@ +/* + * This file was automatically generated by EvoSuite + * Mon Nov 14 08:22:12 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 NetworkRecipeESTest extends NetworkRecipeESTestscaffolding { + + @Test(timeout = 4000) + public void test0() throws Throwable { + NetworkRecipe networkRecipe0 = new NetworkRecipe(); + networkRecipe0.setOrchestrationUri(""); + String string0 = networkRecipe0.toString(); + assertEquals("RECIPE: null,uri=,networkType=null,networkParamXSD=null", string0); + } + + @Test(timeout = 4000) + public void test1() throws Throwable { + NetworkRecipe networkRecipe0 = new NetworkRecipe(); + networkRecipe0.setAction("WL:?f53^x"); + String string0 = networkRecipe0.toString(); + assertEquals("RECIPE: WL:?f53^x,uri=null,networkType=null,networkParamXSD=null", string0); + } + + @Test(timeout = 4000) + public void test2() throws Throwable { + NetworkRecipe networkRecipe0 = new NetworkRecipe(); + networkRecipe0.setNetworkType("RECIPE: "); + String string0 = networkRecipe0.getNetworkType(); + assertEquals("RECIPE: ", string0); + } + + @Test(timeout = 4000) + public void test3() throws Throwable { + NetworkRecipe networkRecipe0 = new NetworkRecipe(); + networkRecipe0.setNetworkParamXSD("!R\"am4?r!"); + String string0 = networkRecipe0.getNetworkParamXSD(); + assertEquals("!R\"am4?r!", string0); + } + + @Test(timeout = 4000) + public void test4() throws Throwable { + NetworkRecipe networkRecipe0 = new NetworkRecipe(); + String string0 = networkRecipe0.getNetworkParamXSD(); + assertNull(string0); + } + + @Test(timeout = 4000) + public void test5() throws Throwable { + NetworkRecipe networkRecipe0 = new NetworkRecipe(); + networkRecipe0.setNetworkType(""); + String string0 = networkRecipe0.getNetworkType(); + assertEquals("", string0); + } + + @Test(timeout = 4000) + public void test6() throws Throwable { + NetworkRecipe networkRecipe0 = new NetworkRecipe(); + networkRecipe0.setNetworkParamXSD(""); + String string0 = networkRecipe0.getNetworkParamXSD(); + assertEquals("", string0); + } + + @Test(timeout = 4000) + public void test7() throws Throwable { + NetworkRecipe networkRecipe0 = new NetworkRecipe(); + String string0 = networkRecipe0.getNetworkType(); + assertNull(string0); + } +} |