aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-vnf-adapter-async-client/src/test/java/org/openecomp/mso/adapters/vnf/async/client/QueryVnfNotificationESTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'adapters/mso-vnf-adapter-async-client/src/test/java/org/openecomp/mso/adapters/vnf/async/client/QueryVnfNotificationESTest.java')
-rw-r--r--adapters/mso-vnf-adapter-async-client/src/test/java/org/openecomp/mso/adapters/vnf/async/client/QueryVnfNotificationESTest.java224
1 files changed, 224 insertions, 0 deletions
diff --git a/adapters/mso-vnf-adapter-async-client/src/test/java/org/openecomp/mso/adapters/vnf/async/client/QueryVnfNotificationESTest.java b/adapters/mso-vnf-adapter-async-client/src/test/java/org/openecomp/mso/adapters/vnf/async/client/QueryVnfNotificationESTest.java
new file mode 100644
index 0000000000..f65825108f
--- /dev/null
+++ b/adapters/mso-vnf-adapter-async-client/src/test/java/org/openecomp/mso/adapters/vnf/async/client/QueryVnfNotificationESTest.java
@@ -0,0 +1,224 @@
+/*
+ * This file was automatically generated by EvoSuite
+ * Mon Nov 14 10:49:18 GMT 2016
+ */
+
+package org.openecomp.mso.adapters.vnf.async.client;
+
+import org.junit.Test;
+import static org.junit.Assert.*;
+
+import java.util.List;
+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 QueryVnfNotificationESTest extends QueryVnfNotificationESTestscaffolding {
+
+ @Test(timeout = 4000)
+ public void test00() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ Boolean boolean0 = Boolean.valueOf("`97");
+ queryVnfNotification0.setVnfExists(boolean0);
+ Boolean boolean1 = queryVnfNotification0.isVnfExists();
+ assertFalse(boolean1);
+ }
+
+ @Test(timeout = 4000)
+ public void test01() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ queryVnfNotification0.completed = true;
+ boolean boolean0 = queryVnfNotification0.isCompleted();
+ assertTrue(boolean0);
+ }
+
+ @Test(timeout = 4000)
+ public void test02() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ queryVnfNotification0.setVnfId("");
+ String string0 = queryVnfNotification0.getVnfId();
+ assertEquals("", string0);
+ }
+
+ @Test(timeout = 4000)
+ public void test03() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ VnfStatus vnfStatus0 = VnfStatus.FAILED;
+ queryVnfNotification0.status = vnfStatus0;
+ VnfStatus vnfStatus1 = queryVnfNotification0.getStatus();
+ assertSame(vnfStatus1, vnfStatus0);
+ }
+
+ @Test(timeout = 4000)
+ public void test04() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ QueryVnfNotification.Outputs queryVnfNotification_Outputs0 = new QueryVnfNotification.Outputs();
+ queryVnfNotification0.setOutputs(queryVnfNotification_Outputs0);
+ QueryVnfNotification.Outputs queryVnfNotification_Outputs1 = queryVnfNotification0.getOutputs();
+ assertSame(queryVnfNotification_Outputs1, queryVnfNotification_Outputs0);
+ }
+
+ @Test(timeout = 4000)
+ public void test05() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ queryVnfNotification0.messageId = "FAILED";
+ String string0 = queryVnfNotification0.getMessageId();
+ assertEquals("FAILED", string0);
+ }
+
+ @Test(timeout = 4000)
+ public void test06() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ MsoExceptionCategory msoExceptionCategory0 = MsoExceptionCategory.INTERNAL;
+ queryVnfNotification0.setException(msoExceptionCategory0);
+ MsoExceptionCategory msoExceptionCategory1 = queryVnfNotification0.getException();
+ assertEquals(MsoExceptionCategory.INTERNAL, msoExceptionCategory1);
+ }
+
+ @Test(timeout = 4000)
+ public void test07() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ queryVnfNotification0.errorMessage = "Jk{*#{!k";
+ String string0 = queryVnfNotification0.getErrorMessage();
+ assertEquals("Jk{*#{!k", string0);
+ }
+
+ @Test(timeout = 4000)
+ public void test08() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ String string0 = queryVnfNotification0.getMessageId();
+ assertNull(string0);
+ }
+
+ @Test(timeout = 4000)
+ public void test09() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ queryVnfNotification0.setMessageId("");
+ String string0 = queryVnfNotification0.getMessageId();
+ assertEquals("", string0);
+ }
+
+ @Test(timeout = 4000)
+ public void test10() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ queryVnfNotification0.setCompleted(true);
+ assertTrue(queryVnfNotification0.isCompleted());
+ }
+
+ @Test(timeout = 4000)
+ public void test11() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ queryVnfNotification0.setVnfId("M:E`?t");
+ String string0 = queryVnfNotification0.getVnfId();
+ assertEquals("M:E`?t", string0);
+ }
+
+ @Test(timeout = 4000)
+ public void test12() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ String string0 = queryVnfNotification0.getVnfId();
+ assertNull(string0);
+ }
+
+ @Test(timeout = 4000)
+ public void test13() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ boolean boolean0 = queryVnfNotification0.isCompleted();
+ assertFalse(boolean0);
+ }
+
+ @Test(timeout = 4000)
+ public void test14() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ queryVnfNotification0.getStatus();
+ }
+
+ @Test(timeout = 4000)
+ public void test15() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ queryVnfNotification0.setErrorMessage("");
+ String string0 = queryVnfNotification0.getErrorMessage();
+ assertEquals("", string0);
+ }
+
+ @Test(timeout = 4000)
+ public void test16() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ VnfStatus vnfStatus0 = VnfStatus.NOTFOUND;
+ queryVnfNotification0.setStatus(vnfStatus0);
+ assertFalse(queryVnfNotification0.isCompleted());
+ }
+
+ @Test(timeout = 4000)
+ public void test17() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ Boolean boolean0 = queryVnfNotification0.isVnfExists();
+ assertNull(boolean0);
+ }
+
+ @Test(timeout = 4000)
+ public void test18() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ queryVnfNotification0.getException();
+ }
+
+ @Test(timeout = 4000)
+ public void test19() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ QueryVnfNotification.Outputs queryVnfNotification_Outputs0 = queryVnfNotification0.getOutputs();
+ assertNull(queryVnfNotification_Outputs0);
+ }
+
+ @Test(timeout = 4000)
+ public void test20() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ String string0 = queryVnfNotification0.getErrorMessage();
+ assertNull(string0);
+ }
+
+ @Test(timeout = 4000)
+ public void test21() throws Throwable {
+ QueryVnfNotification queryVnfNotification0 = new QueryVnfNotification();
+ Boolean boolean0 = new Boolean(true);
+ queryVnfNotification0.setVnfExists(boolean0);
+ Boolean boolean1 = queryVnfNotification0.isVnfExists();
+ assertTrue(boolean1);
+ }
+
+ @Test(timeout = 4000)
+ public void test22() throws Throwable {
+ QueryVnfNotification.Outputs queryVnfNotification_Outputs0 = new QueryVnfNotification.Outputs();
+ List<QueryVnfNotification.Outputs.Entry> list0 = queryVnfNotification_Outputs0.getEntry();
+ List<QueryVnfNotification.Outputs.Entry> list1 = queryVnfNotification_Outputs0.getEntry();
+ assertSame(list1, list0);
+ }
+
+ @Test(timeout = 4000)
+ public void test23() throws Throwable {
+ QueryVnfNotification.Outputs.Entry queryVnfNotification_Outputs_Entry0 = new QueryVnfNotification.Outputs.Entry();
+ String string0 = queryVnfNotification_Outputs_Entry0.getKey();
+ assertNull(string0);
+ }
+
+ @Test(timeout = 4000)
+ public void test24() throws Throwable {
+ QueryVnfNotification.Outputs.Entry queryVnfNotification_Outputs_Entry0 = new QueryVnfNotification.Outputs.Entry();
+ queryVnfNotification_Outputs_Entry0.setValue("{[VrUC");
+ assertNull(queryVnfNotification_Outputs_Entry0.getKey());
+ }
+
+ @Test(timeout = 4000)
+ public void test25() throws Throwable {
+ QueryVnfNotification.Outputs.Entry queryVnfNotification_Outputs_Entry0 = new QueryVnfNotification.Outputs.Entry();
+ String string0 = queryVnfNotification_Outputs_Entry0.getValue();
+ assertNull(string0);
+ }
+
+ @Test(timeout = 4000)
+ public void test26() throws Throwable {
+ QueryVnfNotification.Outputs.Entry queryVnfNotification_Outputs_Entry0 = new QueryVnfNotification.Outputs.Entry();
+ queryVnfNotification_Outputs_Entry0.setKey("");
+ assertNull(queryVnfNotification_Outputs_Entry0.getValue());
+ }
+}