summaryrefslogtreecommitdiffstats
path: root/adapters/mso-adapter-utils/src/test/java/org/openecomp/mso/openstack/beans/PoolESTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'adapters/mso-adapter-utils/src/test/java/org/openecomp/mso/openstack/beans/PoolESTest.java')
-rw-r--r--adapters/mso-adapter-utils/src/test/java/org/openecomp/mso/openstack/beans/PoolESTest.java70
1 files changed, 70 insertions, 0 deletions
diff --git a/adapters/mso-adapter-utils/src/test/java/org/openecomp/mso/openstack/beans/PoolESTest.java b/adapters/mso-adapter-utils/src/test/java/org/openecomp/mso/openstack/beans/PoolESTest.java
new file mode 100644
index 0000000000..0ec588ded9
--- /dev/null
+++ b/adapters/mso-adapter-utils/src/test/java/org/openecomp/mso/openstack/beans/PoolESTest.java
@@ -0,0 +1,70 @@
+/*
+ * This file was automatically generated by EvoSuite
+ * Mon Nov 14 08:49:52 GMT 2016
+ */
+
+package org.openecomp.mso.openstack.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 PoolESTest extends PoolESTestscaffolding {
+
+ @Test(timeout = 4000)
+ public void test0() throws Throwable {
+ Pool pool0 = new Pool();
+ pool0.setStart("Allocation_pool [start=null, end=null]");
+ String string0 = pool0.getStart();
+ assertEquals("Allocation_pool [start=null, end=null]", string0);
+ }
+
+ @Test(timeout = 4000)
+ public void test1() throws Throwable {
+ Pool pool0 = new Pool();
+ pool0.setEnd("Allocation_pool [start=null, end=null]");
+ String string0 = pool0.getEnd();
+ assertEquals("Allocation_pool [start=null, end=null]", string0);
+ }
+
+ @Test(timeout = 4000)
+ public void test2() throws Throwable {
+ Pool pool0 = new Pool();
+ String string0 = pool0.getEnd();
+ assertNull(string0);
+ }
+
+ @Test(timeout = 4000)
+ public void test3() throws Throwable {
+ Pool pool0 = new Pool();
+ pool0.setStart("");
+ String string0 = pool0.getStart();
+ assertEquals("", string0);
+ }
+
+ @Test(timeout = 4000)
+ public void test4() throws Throwable {
+ Pool pool0 = new Pool();
+ String string0 = pool0.toString();
+ assertEquals("Allocation_pool [start=null, end=null]", string0);
+ }
+
+ @Test(timeout = 4000)
+ public void test5() throws Throwable {
+ Pool pool0 = new Pool();
+ pool0.setEnd("");
+ String string0 = pool0.getEnd();
+ assertEquals("", string0);
+ }
+
+ @Test(timeout = 4000)
+ public void test6() throws Throwable {
+ Pool pool0 = new Pool();
+ String string0 = pool0.getStart();
+ assertNull(string0);
+ }
+}