2 * This file was automatically generated by EvoSuite
3 * Mon Nov 14 09:22:42 GMT 2016
6 package org.openecomp.mso.adapters.tenantrest;
9 import static org.junit.Assert.*;
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;
16 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true)
17 public class RollbackTenantErrorESTest extends RollbackTenantErrorESTestscaffolding {
20 public void test0() throws Throwable {
21 RollbackTenantError rollbackTenantError0 = new RollbackTenantError();
22 Boolean boolean0 = rollbackTenantError0.getRolledBack();
27 public void test1() throws Throwable {
28 RollbackTenantError rollbackTenantError0 = new RollbackTenantError("w8nm;2F^\"Z", (MsoExceptionCategory) null, true);
29 Boolean boolean0 = rollbackTenantError0.getRolledBack();
34 public void test2() throws Throwable {
35 RollbackTenantError rollbackTenantError0 = new RollbackTenantError();
36 String string0 = rollbackTenantError0.getMessage();
41 public void test3() throws Throwable {
42 RollbackTenantError rollbackTenantError0 = new RollbackTenantError("=i_>GLf`");
43 String string0 = rollbackTenantError0.getMessage();
44 assertEquals("=i_>GLf`", string0);
48 public void test4() throws Throwable {
49 RollbackTenantError rollbackTenantError0 = new RollbackTenantError();
50 rollbackTenantError0.getCategory();
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());
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);
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);
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());
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());