Merge "updated ARIA version"
[so.git] / adapters / mso-adapter-utils / src / test / java / org / openecomp / mso / openstack / exceptions / MsoExceptionESTest.java
1 /*
2  * This file was automatically generated by EvoSuite
3  * Mon Nov 14 08:48:01 GMT 2016
4  */
5
6 package org.openecomp.mso.openstack.exceptions;
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 MsoExceptionESTest extends MsoExceptionESTestscaffolding {
17
18   @Test(timeout = 4000)
19   public void test0()  throws Throwable  {
20       MsoTenantNotFound msoTenantNotFound0 = new MsoTenantNotFound("T&~q", "Cloud Site [");
21       MsoIOException msoIOException0 = new MsoIOException("", (Throwable) msoTenantNotFound0);
22       String string0 = msoIOException0.getContextMessage();
23       assertEquals("", string0);
24   }
25
26   @Test(timeout = 4000)
27   public void test1()  throws Throwable  {
28       MsoNetworkNotFound msoNetworkNotFound0 = new MsoNetworkNotFound("", "", "");
29       msoNetworkNotFound0.addContext("");
30       String string0 = msoNetworkNotFound0.getContext();
31       assertEquals("", string0);
32       assertNotNull(string0);
33   }
34
35   @Test(timeout = 4000)
36   public void test2()  throws Throwable  {
37       MsoAdapterException msoAdapterException0 = new MsoAdapterException(" ");
38       msoAdapterException0.setContext(" ");
39       String string0 = msoAdapterException0.getContextMessage();
40       assertEquals("[ ]  ", string0);
41   }
42
43   @Test(timeout = 4000)
44   public void test3()  throws Throwable  {
45       MsoCloudSiteNotFound msoCloudSiteNotFound0 = new MsoCloudSiteNotFound();
46       MsoAdapterException msoAdapterException0 = new MsoAdapterException("", (Throwable) msoCloudSiteNotFound0);
47       msoAdapterException0.addContext("");
48       msoAdapterException0.addContext("");
49       String string0 = msoAdapterException0.getContext();
50       assertEquals(":", msoAdapterException0.getContext());
51       assertNotNull(string0);
52   }
53
54   @Test(timeout = 4000)
55   public void test4()  throws Throwable  {
56       MsoCloudSiteNotFound msoCloudSiteNotFound0 = new MsoCloudSiteNotFound((String) null);
57       MsoExceptionCategory msoExceptionCategory0 = msoCloudSiteNotFound0.getCategory();
58       MsoAdapterException msoAdapterException0 = new MsoAdapterException((String) null, (Throwable) msoCloudSiteNotFound0);
59       msoAdapterException0.setCategory(msoExceptionCategory0);
60       assertNull(msoAdapterException0.getContext());
61   }
62
63   @Test(timeout = 4000)
64   public void test5()  throws Throwable  {
65       MsoNetworkNotFound msoNetworkNotFound0 = new MsoNetworkNotFound("", "", "");
66       String string0 = msoNetworkNotFound0.getContext();
67       assertNull(string0);
68   }
69
70   @Test(timeout = 4000)
71   public void test6()  throws Throwable  {
72       MsoCloudSiteNotFound msoCloudSiteNotFound0 = new MsoCloudSiteNotFound((String) null);
73       MsoAdapterException msoAdapterException0 = new MsoAdapterException((String) null, (Throwable) msoCloudSiteNotFound0);
74       String string0 = msoAdapterException0.getContextMessage();
75       assertNull(string0);
76   }
77 }