2 * This file was automatically generated by EvoSuite
3 * Mon Nov 14 10:51:15 GMT 2016
6 package org.openecomp.mso.adapters.vnf.async.client;
9 import static org.junit.Assert.*;
11 import java.util.List;
12 import org.evosuite.runtime.EvoRunner;
13 import org.evosuite.runtime.EvoRunnerParameters;
14 import org.junit.runner.RunWith;
16 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true)
17 public class UpdateVnfNotificationESTest extends UpdateVnfNotificationESTestscaffolding {
20 public void test00() throws Throwable {
21 UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
22 VnfRollback vnfRollback0 = new VnfRollback();
23 vnfRollback0.tenantCreated = true;
24 updateVnfNotification0.setRollback(vnfRollback0);
25 VnfRollback vnfRollback1 = updateVnfNotification0.getRollback();
26 assertNull(vnfRollback1.getTenantId());
30 public void test01() throws Throwable {
31 UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
32 VnfRollback vnfRollback0 = new VnfRollback();
33 updateVnfNotification0.rollback = vnfRollback0;
34 VnfRollback vnfRollback1 = updateVnfNotification0.getRollback();
35 assertFalse(vnfRollback1.isTenantCreated());
39 public void test02() throws Throwable {
40 UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
41 UpdateVnfNotification.Outputs updateVnfNotification_Outputs0 = new UpdateVnfNotification.Outputs();
42 updateVnfNotification0.setOutputs(updateVnfNotification_Outputs0);
43 UpdateVnfNotification.Outputs updateVnfNotification_Outputs1 = updateVnfNotification0.getOutputs();
44 assertSame(updateVnfNotification_Outputs1, updateVnfNotification_Outputs0);
48 public void test03() throws Throwable {
49 UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
50 updateVnfNotification0.messageId = ":_rGAeg9'Jf17.p+,m";
51 String string0 = updateVnfNotification0.getMessageId();
52 assertEquals(":_rGAeg9'Jf17.p+,m", string0);
56 public void test04() throws Throwable {
57 UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
58 updateVnfNotification0.setMessageId("");
59 String string0 = updateVnfNotification0.getMessageId();
60 assertEquals("", string0);
64 public void test05() throws Throwable {
65 UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
66 MsoExceptionCategory msoExceptionCategory0 = MsoExceptionCategory.IO;
67 updateVnfNotification0.exception = msoExceptionCategory0;
68 MsoExceptionCategory msoExceptionCategory1 = updateVnfNotification0.getException();
69 assertEquals(MsoExceptionCategory.IO, msoExceptionCategory1);
73 public void test06() throws Throwable {
74 UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
75 updateVnfNotification0.errorMessage = null;
76 updateVnfNotification0.errorMessage = "";
77 String string0 = updateVnfNotification0.getErrorMessage();
78 assertEquals("", string0);
82 public void test07() throws Throwable {
83 UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
84 VnfRollback vnfRollback0 = updateVnfNotification0.getRollback();
85 assertNull(vnfRollback0);
89 public void test08() throws Throwable {
90 UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
91 boolean boolean0 = updateVnfNotification0.isCompleted();
92 assertFalse(boolean0);
96 public void test09() throws Throwable {
97 UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
98 updateVnfNotification0.getException();
101 @Test(timeout = 4000)
102 public void test10() throws Throwable {
103 UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
104 String string0 = updateVnfNotification0.getMessageId();
108 @Test(timeout = 4000)
109 public void test11() throws Throwable {
110 UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
111 MsoExceptionCategory msoExceptionCategory0 = MsoExceptionCategory.IO;
112 updateVnfNotification0.setException(msoExceptionCategory0);
113 assertEquals(MsoExceptionCategory.IO, updateVnfNotification0.getException());
116 @Test(timeout = 4000)
117 public void test12() throws Throwable {
118 UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
119 updateVnfNotification0.setCompleted(true);
120 boolean boolean0 = updateVnfNotification0.isCompleted();
121 assertTrue(boolean0);
124 @Test(timeout = 4000)
125 public void test13() throws Throwable {
126 UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
127 UpdateVnfNotification.Outputs updateVnfNotification_Outputs0 = updateVnfNotification0.getOutputs();
128 assertNull(updateVnfNotification_Outputs0);
131 @Test(timeout = 4000)
132 public void test14() throws Throwable {
133 UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
134 updateVnfNotification0.setErrorMessage("m.m)#ZJF);)x*\"HQ8WB");
135 String string0 = updateVnfNotification0.getErrorMessage();
136 assertEquals("m.m)#ZJF);)x*\"HQ8WB", string0);
139 @Test(timeout = 4000)
140 public void test15() throws Throwable {
141 UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
142 String string0 = updateVnfNotification0.getErrorMessage();
146 @Test(timeout = 4000)
147 public void test16() throws Throwable {
148 UpdateVnfNotification.Outputs updateVnfNotification_Outputs0 = new UpdateVnfNotification.Outputs();
149 List<UpdateVnfNotification.Outputs.Entry> list0 = updateVnfNotification_Outputs0.getEntry();
150 List<UpdateVnfNotification.Outputs.Entry> list1 = updateVnfNotification_Outputs0.getEntry();
151 assertSame(list1, list0);
154 @Test(timeout = 4000)
155 public void test17() throws Throwable {
156 UpdateVnfNotification.Outputs.Entry updateVnfNotification_Outputs_Entry0 = new UpdateVnfNotification.Outputs.Entry();
157 updateVnfNotification_Outputs_Entry0.setKey(",");
158 assertEquals(",", updateVnfNotification_Outputs_Entry0.getKey());
161 @Test(timeout = 4000)
162 public void test18() throws Throwable {
163 UpdateVnfNotification.Outputs.Entry updateVnfNotification_Outputs_Entry0 = new UpdateVnfNotification.Outputs.Entry();
164 String string0 = updateVnfNotification_Outputs_Entry0.getValue();
168 @Test(timeout = 4000)
169 public void test19() throws Throwable {
170 UpdateVnfNotification.Outputs.Entry updateVnfNotification_Outputs_Entry0 = new UpdateVnfNotification.Outputs.Entry();
171 updateVnfNotification_Outputs_Entry0.setValue("IO");
172 assertNull(updateVnfNotification_Outputs_Entry0.getKey());
175 @Test(timeout = 4000)
176 public void test20() throws Throwable {
177 UpdateVnfNotification.Outputs.Entry updateVnfNotification_Outputs_Entry0 = new UpdateVnfNotification.Outputs.Entry();
178 String string0 = updateVnfNotification_Outputs_Entry0.getKey();