2 * This file was automatically generated by EvoSuite
3 * Mon Nov 14 09:23:14 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 QueryTenantErrorESTest extends QueryTenantErrorESTestscaffolding {
20 public void test0() throws Throwable {
21 QueryTenantError queryTenantError0 = new QueryTenantError();
22 String string0 = queryTenantError0.getMessage();
27 public void test1() throws Throwable {
28 MsoExceptionCategory msoExceptionCategory0 = MsoExceptionCategory.OPENSTACK;
29 QueryTenantError queryTenantError0 = new QueryTenantError("", msoExceptionCategory0);
30 assertEquals("", queryTenantError0.getMessage());
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);
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);
51 public void test4() throws Throwable {
52 QueryTenantError queryTenantError0 = new QueryTenantError("");
53 String string0 = queryTenantError0.getMessage();
54 assertEquals("", string0);
58 public void test5() throws Throwable {
59 QueryTenantError queryTenantError0 = new QueryTenantError();
60 queryTenantError0.getCategory();