Merge "updated ARIA version"
[so.git] / adapters / mso-vnf-adapter-async-client / src / test / java / org / openecomp / mso / adapters / vnf / async / client / UpdateVnfNotificationESTest.java
1 /*
2  * This file was automatically generated by EvoSuite
3  * Mon Nov 14 10:51:15 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 UpdateVnfNotificationESTest extends UpdateVnfNotificationESTestscaffolding {
18
19   @Test(timeout = 4000)
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());
27   }
28
29   @Test(timeout = 4000)
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());
36   }
37
38   @Test(timeout = 4000)
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);
45   }
46
47   @Test(timeout = 4000)
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);
53   }
54
55   @Test(timeout = 4000)
56   public void test04()  throws Throwable  {
57       UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
58       updateVnfNotification0.setMessageId("");
59       String string0 = updateVnfNotification0.getMessageId();
60       assertEquals("", string0);
61   }
62
63   @Test(timeout = 4000)
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);
70   }
71
72   @Test(timeout = 4000)
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);
79   }
80
81   @Test(timeout = 4000)
82   public void test07()  throws Throwable  {
83       UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
84       VnfRollback vnfRollback0 = updateVnfNotification0.getRollback();
85       assertNull(vnfRollback0);
86   }
87
88   @Test(timeout = 4000)
89   public void test08()  throws Throwable  {
90       UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
91       boolean boolean0 = updateVnfNotification0.isCompleted();
92       assertFalse(boolean0);
93   }
94
95   @Test(timeout = 4000)
96   public void test09()  throws Throwable  {
97       UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
98       updateVnfNotification0.getException();
99   }
100
101   @Test(timeout = 4000)
102   public void test10()  throws Throwable  {
103       UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
104       String string0 = updateVnfNotification0.getMessageId();
105       assertNull(string0);
106   }
107
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());
114   }
115
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);
122   }
123
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);
129   }
130
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);
137   }
138
139   @Test(timeout = 4000)
140   public void test15()  throws Throwable  {
141       UpdateVnfNotification updateVnfNotification0 = new UpdateVnfNotification();
142       String string0 = updateVnfNotification0.getErrorMessage();
143       assertNull(string0);
144   }
145
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);
152   }
153
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());
159   }
160
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();
165       assertNull(string0);
166   }
167
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());
173   }
174
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();
179       assertNull(string0);
180   }
181 }