Initial OpenECOMP MSO commit
[so.git] / adapters / mso-vnf-adapter-async-client / src / test / java / org / openecomp / mso / adapters / vnf / async / client / RollbackVnfNotificationESTest.java
1 /*
2  * This file was automatically generated by EvoSuite
3  * Mon Nov 14 10:46:51 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 org.evosuite.runtime.EvoRunner;
12 import org.evosuite.runtime.EvoRunnerParameters;
13 import org.junit.runner.RunWith;
14
15 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true) 
16 public class RollbackVnfNotificationESTest extends RollbackVnfNotificationESTestscaffolding {
17
18   @Test(timeout = 4000)
19   public void test00()  throws Throwable  {
20       RollbackVnfNotification rollbackVnfNotification0 = new RollbackVnfNotification();
21       rollbackVnfNotification0.setMessageId(":HW@8Kxo`M[S:7>");
22       String string0 = rollbackVnfNotification0.getMessageId();
23       assertNotNull(string0);
24   }
25
26   @Test(timeout = 4000)
27   public void test01()  throws Throwable  {
28       RollbackVnfNotification rollbackVnfNotification0 = new RollbackVnfNotification();
29       rollbackVnfNotification0.errorMessage = "INTERNAL";
30       String string0 = rollbackVnfNotification0.getErrorMessage();
31       assertEquals("INTERNAL", string0);
32   }
33
34   @Test(timeout = 4000)
35   public void test02()  throws Throwable  {
36       RollbackVnfNotification rollbackVnfNotification0 = new RollbackVnfNotification();
37       rollbackVnfNotification0.errorMessage = "";
38       String string0 = rollbackVnfNotification0.getErrorMessage();
39       assertEquals("", string0);
40   }
41
42   @Test(timeout = 4000)
43   public void test03()  throws Throwable  {
44       RollbackVnfNotification rollbackVnfNotification0 = new RollbackVnfNotification();
45       rollbackVnfNotification0.getException();
46   }
47
48   @Test(timeout = 4000)
49   public void test04()  throws Throwable  {
50       RollbackVnfNotification rollbackVnfNotification0 = new RollbackVnfNotification();
51       rollbackVnfNotification0.setMessageId("");
52       String string0 = rollbackVnfNotification0.getMessageId();
53       assertEquals("", string0);
54   }
55
56   @Test(timeout = 4000)
57   public void test05()  throws Throwable  {
58       RollbackVnfNotification rollbackVnfNotification0 = new RollbackVnfNotification();
59       String string0 = rollbackVnfNotification0.getErrorMessage();
60       assertNull(string0);
61   }
62
63   @Test(timeout = 4000)
64   public void test06()  throws Throwable  {
65       RollbackVnfNotification rollbackVnfNotification0 = new RollbackVnfNotification();
66       MsoExceptionCategory msoExceptionCategory0 = MsoExceptionCategory.INTERNAL;
67       rollbackVnfNotification0.setException(msoExceptionCategory0);
68       MsoExceptionCategory msoExceptionCategory1 = rollbackVnfNotification0.getException();
69       assertSame(msoExceptionCategory1, msoExceptionCategory0);
70   }
71
72   @Test(timeout = 4000)
73   public void test07()  throws Throwable  {
74       RollbackVnfNotification rollbackVnfNotification0 = new RollbackVnfNotification();
75       rollbackVnfNotification0.setErrorMessage("");
76       assertEquals("", rollbackVnfNotification0.getErrorMessage());
77   }
78
79   @Test(timeout = 4000)
80   public void test08()  throws Throwable  {
81       RollbackVnfNotification rollbackVnfNotification0 = new RollbackVnfNotification();
82       String string0 = rollbackVnfNotification0.getMessageId();
83       assertNull(string0);
84   }
85
86   @Test(timeout = 4000)
87   public void test09()  throws Throwable  {
88       RollbackVnfNotification rollbackVnfNotification0 = new RollbackVnfNotification();
89       boolean boolean0 = rollbackVnfNotification0.isCompleted();
90       assertFalse(boolean0);
91   }
92
93   @Test(timeout = 4000)
94   public void test10()  throws Throwable  {
95       RollbackVnfNotification rollbackVnfNotification0 = new RollbackVnfNotification();
96       rollbackVnfNotification0.setCompleted(true);
97       boolean boolean0 = rollbackVnfNotification0.isCompleted();
98       assertTrue(boolean0);
99   }
100 }