Initial OpenECOMP MSO commit
[so.git] / adapters / mso-adapters-rest-interface / src / test / java / org / openecomp / mso / adapters / tenantrest / QueryTenantErrorESTest.java
1 /*
2  * This file was automatically generated by EvoSuite
3  * Mon Nov 14 09:23:14 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 QueryTenantErrorESTest extends QueryTenantErrorESTestscaffolding {
18
19   @Test(timeout = 4000)
20   public void test0()  throws Throwable  {
21       QueryTenantError queryTenantError0 = new QueryTenantError();
22       String string0 = queryTenantError0.getMessage();
23       assertNull(string0);
24   }
25
26   @Test(timeout = 4000)
27   public void test1()  throws Throwable  {
28       MsoExceptionCategory msoExceptionCategory0 = MsoExceptionCategory.OPENSTACK;
29       QueryTenantError queryTenantError0 = new QueryTenantError("", msoExceptionCategory0);
30       assertEquals("", queryTenantError0.getMessage());
31   }
32
33   @Test(timeout = 4000)
34   public void test2()  throws Throwable  {
35       QueryTenantError queryTenantError0 = new QueryTenantError();
36       queryTenantError0.setMessage("\7fIo21y\"Bvi");
37       String string0 = queryTenantError0.getMessage();
38       assertEquals("\7fIo21y\"Bvi", string0);
39   }
40
41   @Test(timeout = 4000)
42   public void test3()  throws Throwable  {
43       QueryTenantError queryTenantError0 = new QueryTenantError();
44       MsoExceptionCategory msoExceptionCategory0 = MsoExceptionCategory.OPENSTACK;
45       queryTenantError0.setCategory(msoExceptionCategory0);
46       MsoExceptionCategory msoExceptionCategory1 = queryTenantError0.getCategory();
47       assertEquals(MsoExceptionCategory.OPENSTACK, msoExceptionCategory1);
48   }
49
50   @Test(timeout = 4000)
51   public void test4()  throws Throwable  {
52       QueryTenantError queryTenantError0 = new QueryTenantError("");
53       String string0 = queryTenantError0.getMessage();
54       assertEquals("", string0);
55   }
56
57   @Test(timeout = 4000)
58   public void test5()  throws Throwable  {
59       QueryTenantError queryTenantError0 = new QueryTenantError();
60       queryTenantError0.getCategory();
61   }
62 }