Merge "updated ARIA version"
[so.git] / adapters / mso-adapters-rest-interface / src / test / java / org / openecomp / mso / adapters / tenantrest / RollbackTenantErrorESTest.java
1 /*
2  * This file was automatically generated by EvoSuite
3  * Mon Nov 14 09:22:42 GMT 2016
4  */
5
6 package org.openecomp.mso.adapters.tenantrest;
7
8 import org.junit.Test;
9 import static org.junit.Assert.*;
10
11 import org.openecomp.mso.openstack.exceptions.MsoExceptionCategory;
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 RollbackTenantErrorESTest extends RollbackTenantErrorESTestscaffolding {
18
19   @Test(timeout = 4000)
20   public void test0()  throws Throwable  {
21       RollbackTenantError rollbackTenantError0 = new RollbackTenantError();
22       Boolean boolean0 = rollbackTenantError0.getRolledBack();
23       assertNull(boolean0);
24   }
25
26   @Test(timeout = 4000)
27   public void test1()  throws Throwable  {
28       RollbackTenantError rollbackTenantError0 = new RollbackTenantError("w8nm;2F^\"Z", (MsoExceptionCategory) null, true);
29       Boolean boolean0 = rollbackTenantError0.getRolledBack();
30       assertTrue(boolean0);
31   }
32
33   @Test(timeout = 4000)
34   public void test2()  throws Throwable  {
35       RollbackTenantError rollbackTenantError0 = new RollbackTenantError();
36       String string0 = rollbackTenantError0.getMessage();
37       assertNull(string0);
38   }
39
40   @Test(timeout = 4000)
41   public void test3()  throws Throwable  {
42       RollbackTenantError rollbackTenantError0 = new RollbackTenantError("=i_>GLf`");
43       String string0 = rollbackTenantError0.getMessage();
44       assertEquals("=i_>GLf`", string0);
45   }
46
47   @Test(timeout = 4000)
48   public void test4()  throws Throwable  {
49       RollbackTenantError rollbackTenantError0 = new RollbackTenantError();
50       rollbackTenantError0.getCategory();
51   }
52
53   @Test(timeout = 4000)
54   public void test5()  throws Throwable  {
55       MsoExceptionCategory msoExceptionCategory0 = MsoExceptionCategory.OPENSTACK;
56       RollbackTenantError rollbackTenantError0 = new RollbackTenantError("", msoExceptionCategory0, false);
57       rollbackTenantError0.setCategory(msoExceptionCategory0);
58       assertEquals(MsoExceptionCategory.OPENSTACK, rollbackTenantError0.getCategory());
59   }
60
61   @Test(timeout = 4000)
62   public void test6()  throws Throwable  {
63       MsoExceptionCategory msoExceptionCategory0 = MsoExceptionCategory.OPENSTACK;
64       RollbackTenantError rollbackTenantError0 = new RollbackTenantError("", msoExceptionCategory0, false);
65       MsoExceptionCategory msoExceptionCategory1 = rollbackTenantError0.getCategory();
66       assertEquals(MsoExceptionCategory.OPENSTACK, msoExceptionCategory1);
67   }
68
69   @Test(timeout = 4000)
70   public void test7()  throws Throwable  {
71       MsoExceptionCategory msoExceptionCategory0 = MsoExceptionCategory.OPENSTACK;
72       RollbackTenantError rollbackTenantError0 = new RollbackTenantError("", msoExceptionCategory0, false);
73       String string0 = rollbackTenantError0.getMessage();
74       assertEquals("", string0);
75   }
76
77   @Test(timeout = 4000)
78   public void test8()  throws Throwable  {
79       MsoExceptionCategory msoExceptionCategory0 = MsoExceptionCategory.OPENSTACK;
80       RollbackTenantError rollbackTenantError0 = new RollbackTenantError("", msoExceptionCategory0, false);
81       Boolean boolean0 = rollbackTenantError0.getRolledBack();
82       rollbackTenantError0.setRolledBack(boolean0);
83       assertEquals(MsoExceptionCategory.OPENSTACK, rollbackTenantError0.getCategory());
84   }
85
86   @Test(timeout = 4000)
87   public void test9()  throws Throwable  {
88       RollbackTenantError rollbackTenantError0 = new RollbackTenantError();
89       rollbackTenantError0.setMessage("org.openecomp.mso.openstack.exceptions.MsoExceptionCategory");
90       assertEquals("org.openecomp.mso.openstack.exceptions.MsoExceptionCategory", rollbackTenantError0.getMessage());
91   }
92 }