2 * This file was automatically generated by EvoSuite
3 * Mon Nov 14 10:47:44 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 CreateVnfNotificationESTest extends CreateVnfNotificationESTestscaffolding {
20 public void test00() throws Throwable {
21 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
22 createVnfNotification0.completed = true;
23 boolean boolean0 = createVnfNotification0.isCompleted();
28 public void test01() throws Throwable {
29 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
30 createVnfNotification0.vnfId = "hxb7d^";
31 String string0 = createVnfNotification0.getVnfId();
32 assertEquals("hxb7d^", string0);
36 public void test02() throws Throwable {
37 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
38 createVnfNotification0.vnfId = "";
39 String string0 = createVnfNotification0.getVnfId();
40 assertEquals("", string0);
44 public void test03() throws Throwable {
45 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
46 VnfRollback vnfRollback0 = new VnfRollback();
47 vnfRollback0.setVnfCreated(true);
48 createVnfNotification0.setRollback(vnfRollback0);
49 VnfRollback vnfRollback1 = createVnfNotification0.getRollback();
50 assertSame(vnfRollback1, vnfRollback0);
54 public void test04() throws Throwable {
55 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
56 VnfRollback vnfRollback0 = new VnfRollback();
57 createVnfNotification0.rollback = vnfRollback0;
58 VnfRollback vnfRollback1 = createVnfNotification0.getRollback();
59 assertFalse(vnfRollback1.isVnfCreated());
63 public void test05() throws Throwable {
64 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
65 CreateVnfNotification.Outputs createVnfNotification_Outputs0 = new CreateVnfNotification.Outputs();
66 createVnfNotification0.outputs = createVnfNotification_Outputs0;
67 CreateVnfNotification.Outputs createVnfNotification_Outputs1 = createVnfNotification0.getOutputs();
68 assertSame(createVnfNotification_Outputs1, createVnfNotification_Outputs0);
72 public void test06() throws Throwable {
73 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
74 createVnfNotification0.messageId = "org.openecomp.mso.adapters.vnf.async.client.MsoExceptionCategory";
75 String string0 = createVnfNotification0.getMessageId();
76 assertEquals("org.openecomp.mso.adapters.vnf.async.client.MsoExceptionCategory", string0);
80 public void test07() throws Throwable {
81 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
82 MsoExceptionCategory msoExceptionCategory0 = MsoExceptionCategory.OPENSTACK;
83 createVnfNotification0.exception = msoExceptionCategory0;
84 MsoExceptionCategory msoExceptionCategory1 = createVnfNotification0.getException();
85 assertEquals(MsoExceptionCategory.OPENSTACK, msoExceptionCategory1);
89 public void test08() throws Throwable {
90 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
91 createVnfNotification0.errorMessage = "=(,wm";
92 String string0 = createVnfNotification0.getErrorMessage();
93 assertEquals("=(,wm", string0);
97 public void test09() throws Throwable {
98 CreateVnfNotification.Outputs createVnfNotification_Outputs0 = new CreateVnfNotification.Outputs();
99 createVnfNotification_Outputs0.getEntry();
100 List<CreateVnfNotification.Outputs.Entry> list0 = createVnfNotification_Outputs0.getEntry();
101 assertTrue(list0.isEmpty());
104 @Test(timeout = 4000)
105 public void test10() throws Throwable {
106 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
107 CreateVnfNotification.Outputs createVnfNotification_Outputs0 = new CreateVnfNotification.Outputs();
108 createVnfNotification0.setOutputs(createVnfNotification_Outputs0);
109 assertNull(createVnfNotification0.getErrorMessage());
112 @Test(timeout = 4000)
113 public void test11() throws Throwable {
114 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
115 VnfRollback vnfRollback0 = createVnfNotification0.getRollback();
116 assertNull(vnfRollback0);
119 @Test(timeout = 4000)
120 public void test12() throws Throwable {
121 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
122 MsoExceptionCategory msoExceptionCategory0 = MsoExceptionCategory.OPENSTACK;
123 createVnfNotification0.setException(msoExceptionCategory0);
124 assertFalse(createVnfNotification0.isCompleted());
127 @Test(timeout = 4000)
128 public void test13() throws Throwable {
129 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
130 String string0 = createVnfNotification0.getErrorMessage();
134 @Test(timeout = 4000)
135 public void test14() throws Throwable {
136 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
137 CreateVnfNotification.Outputs createVnfNotification_Outputs0 = createVnfNotification0.getOutputs();
138 assertNull(createVnfNotification_Outputs0);
141 @Test(timeout = 4000)
142 public void test15() throws Throwable {
143 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
144 createVnfNotification0.getException();
147 @Test(timeout = 4000)
148 public void test16() throws Throwable {
149 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
150 createVnfNotification0.setCompleted(false);
151 assertFalse(createVnfNotification0.isCompleted());
154 @Test(timeout = 4000)
155 public void test17() throws Throwable {
156 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
157 String string0 = createVnfNotification0.getMessageId();
161 @Test(timeout = 4000)
162 public void test18() throws Throwable {
163 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
164 createVnfNotification0.setVnfId("N");
165 assertNull(createVnfNotification0.getException());
168 @Test(timeout = 4000)
169 public void test19() throws Throwable {
170 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
171 createVnfNotification0.setErrorMessage("");
172 String string0 = createVnfNotification0.getErrorMessage();
173 assertEquals("", string0);
176 @Test(timeout = 4000)
177 public void test20() throws Throwable {
178 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
179 String string0 = createVnfNotification0.getVnfId();
183 @Test(timeout = 4000)
184 public void test21() throws Throwable {
185 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
186 createVnfNotification0.setMessageId("");
187 String string0 = createVnfNotification0.getMessageId();
188 assertEquals("", string0);
191 @Test(timeout = 4000)
192 public void test22() throws Throwable {
193 CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
194 boolean boolean0 = createVnfNotification0.isCompleted();
195 assertFalse(boolean0);
198 @Test(timeout = 4000)
199 public void test23() throws Throwable {
200 CreateVnfNotification.Outputs.Entry createVnfNotification_Outputs_Entry0 = new CreateVnfNotification.Outputs.Entry();
201 createVnfNotification_Outputs_Entry0.setValue("`)_fe1");
202 assertNull(createVnfNotification_Outputs_Entry0.getKey());
205 @Test(timeout = 4000)
206 public void test24() throws Throwable {
207 CreateVnfNotification.Outputs.Entry createVnfNotification_Outputs_Entry0 = new CreateVnfNotification.Outputs.Entry();
208 createVnfNotification_Outputs_Entry0.setKey("");
209 assertEquals("", createVnfNotification_Outputs_Entry0.getKey());
212 @Test(timeout = 4000)
213 public void test25() throws Throwable {
214 CreateVnfNotification.Outputs.Entry createVnfNotification_Outputs_Entry0 = new CreateVnfNotification.Outputs.Entry();
215 String string0 = createVnfNotification_Outputs_Entry0.getValue();
219 @Test(timeout = 4000)
220 public void test26() throws Throwable {
221 CreateVnfNotification.Outputs.Entry createVnfNotification_Outputs_Entry0 = new CreateVnfNotification.Outputs.Entry();
222 String string0 = createVnfNotification_Outputs_Entry0.getKey();