Merge "updated ARIA version"
[so.git] / adapters / mso-vnf-adapter-async-client / src / test / java / org / openecomp / mso / adapters / vnf / async / client / CreateVnfNotificationESTest.java
1 /*
2  * This file was automatically generated by EvoSuite
3  * Mon Nov 14 10:47:44 GMT 2016
4  */
5
6 package org.openecomp.mso.adapters.vnf.async.client;
7
8 import org.junit.Test;
9 import static org.junit.Assert.*;
10
11 import java.util.List;
12 import org.evosuite.runtime.EvoRunner;
13 import org.evosuite.runtime.EvoRunnerParameters;
14 import org.junit.runner.RunWith;
15
16 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true) 
17 public class CreateVnfNotificationESTest extends CreateVnfNotificationESTestscaffolding {
18
19   @Test(timeout = 4000)
20   public void test00()  throws Throwable  {
21       CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
22       createVnfNotification0.completed = true;
23       boolean boolean0 = createVnfNotification0.isCompleted();
24       assertTrue(boolean0);
25   }
26
27   @Test(timeout = 4000)
28   public void test01()  throws Throwable  {
29       CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
30       createVnfNotification0.vnfId = "hxb7d^";
31       String string0 = createVnfNotification0.getVnfId();
32       assertEquals("hxb7d^", string0);
33   }
34
35   @Test(timeout = 4000)
36   public void test02()  throws Throwable  {
37       CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
38       createVnfNotification0.vnfId = "";
39       String string0 = createVnfNotification0.getVnfId();
40       assertEquals("", string0);
41   }
42
43   @Test(timeout = 4000)
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);
51   }
52
53   @Test(timeout = 4000)
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());
60   }
61
62   @Test(timeout = 4000)
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);
69   }
70
71   @Test(timeout = 4000)
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);
77   }
78
79   @Test(timeout = 4000)
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);
86   }
87
88   @Test(timeout = 4000)
89   public void test08()  throws Throwable  {
90       CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
91       createVnfNotification0.errorMessage = "=(,wm";
92       String string0 = createVnfNotification0.getErrorMessage();
93       assertEquals("=(,wm", string0);
94   }
95
96   @Test(timeout = 4000)
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());
102   }
103
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());
110   }
111
112   @Test(timeout = 4000)
113   public void test11()  throws Throwable  {
114       CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
115       VnfRollback vnfRollback0 = createVnfNotification0.getRollback();
116       assertNull(vnfRollback0);
117   }
118
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());
125   }
126
127   @Test(timeout = 4000)
128   public void test13()  throws Throwable  {
129       CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
130       String string0 = createVnfNotification0.getErrorMessage();
131       assertNull(string0);
132   }
133
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);
139   }
140
141   @Test(timeout = 4000)
142   public void test15()  throws Throwable  {
143       CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
144       createVnfNotification0.getException();
145   }
146
147   @Test(timeout = 4000)
148   public void test16()  throws Throwable  {
149       CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
150       createVnfNotification0.setCompleted(false);
151       assertFalse(createVnfNotification0.isCompleted());
152   }
153
154   @Test(timeout = 4000)
155   public void test17()  throws Throwable  {
156       CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
157       String string0 = createVnfNotification0.getMessageId();
158       assertNull(string0);
159   }
160
161   @Test(timeout = 4000)
162   public void test18()  throws Throwable  {
163       CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
164       createVnfNotification0.setVnfId("N");
165       assertNull(createVnfNotification0.getException());
166   }
167
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);
174   }
175
176   @Test(timeout = 4000)
177   public void test20()  throws Throwable  {
178       CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
179       String string0 = createVnfNotification0.getVnfId();
180       assertNull(string0);
181   }
182
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);
189   }
190
191   @Test(timeout = 4000)
192   public void test22()  throws Throwable  {
193       CreateVnfNotification createVnfNotification0 = new CreateVnfNotification();
194       boolean boolean0 = createVnfNotification0.isCompleted();
195       assertFalse(boolean0);
196   }
197
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());
203   }
204
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());
210   }
211
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();
216       assertNull(string0);
217   }
218
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();
223       assertNull(string0);
224   }
225 }