Merge "updated ARIA version"
[so.git] / adapters / mso-adapters-rest-interface / src / test / java / org / openecomp / mso / adapters / tenantrest / QueryTenantResponseESTest.java
1 /*
2  * This file was automatically generated by EvoSuite
3  * Mon Nov 14 09:16:12 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 java.util.HashMap;
12 import java.util.Map;
13 import org.evosuite.runtime.EvoRunner;
14 import org.evosuite.runtime.EvoRunnerParameters;
15 import org.junit.runner.RunWith;
16
17 @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true) 
18 public class QueryTenantResponseESTest extends QueryTenantResponseESTestscaffolding {
19
20   @Test(timeout = 4000)
21   public void test0()  throws Throwable  {
22       QueryTenantResponse queryTenantResponse0 = new QueryTenantResponse();
23       String string0 = queryTenantResponse0.getTenantName();
24       assertNull(string0);
25   }
26
27   @Test(timeout = 4000)
28   public void test1()  throws Throwable  {
29       QueryTenantResponse queryTenantResponse0 = new QueryTenantResponse("", "jaxb.formatted.output", (Map<String, String>) null);
30       String string0 = queryTenantResponse0.getTenantName();
31       assertEquals("jaxb.formatted.output", string0);
32       assertEquals("", queryTenantResponse0.getTenantId());
33   }
34
35   @Test(timeout = 4000)
36   public void test2()  throws Throwable  {
37       HashMap<String, String> hashMap0 = new HashMap<String, String>();
38       QueryTenantResponse queryTenantResponse0 = new QueryTenantResponse("/d/SGl|KH4#n", "", (Map<String, String>) hashMap0);
39       String string0 = queryTenantResponse0.getTenantId();
40       assertEquals("", queryTenantResponse0.getTenantName());
41       assertEquals("/d/SGl|KH4#n", string0);
42   }
43
44   @Test(timeout = 4000)
45   public void test3()  throws Throwable  {
46       HashMap<String, String> hashMap0 = new HashMap<String, String>();
47       QueryTenantResponse queryTenantResponse0 = new QueryTenantResponse(":!JHcoDwU", ":!JHcoDwU", (Map<String, String>) hashMap0);
48       Map<String, String> map0 = queryTenantResponse0.getMetadata();
49       assertTrue(map0.isEmpty());
50   }
51
52   @Test(timeout = 4000)
53   public void test4()  throws Throwable  {
54       QueryTenantResponse queryTenantResponse0 = new QueryTenantResponse();
55       HashMap<String, String> hashMap0 = new HashMap<String, String>();
56       hashMap0.put("3Lk\"uS,GJ", "3Lk\"uS,GJ");
57       queryTenantResponse0.setMetadata(hashMap0);
58       Map<String, String> map0 = queryTenantResponse0.getMetadata();
59       assertEquals(1, map0.size());
60   }
61
62   @Test(timeout = 4000)
63   public void test5()  throws Throwable  {
64       HashMap<String, String> hashMap0 = new HashMap<String, String>();
65       QueryTenantResponse queryTenantResponse0 = new QueryTenantResponse("b", "", (Map<String, String>) hashMap0);
66       String string0 = queryTenantResponse0.getTenantName();
67       assertEquals("", string0);
68       assertEquals("b", queryTenantResponse0.getTenantId());
69   }
70
71   @Test(timeout = 4000)
72   public void test6()  throws Throwable  {
73       QueryTenantResponse queryTenantResponse0 = new QueryTenantResponse();
74       String string0 = queryTenantResponse0.getTenantId();
75       assertNull(string0);
76   }
77
78   @Test(timeout = 4000)
79   public void test7()  throws Throwable  {
80       QueryTenantResponse queryTenantResponse0 = new QueryTenantResponse();
81       Map<String, String> map0 = queryTenantResponse0.getMetadata();
82       assertNull(map0);
83   }
84
85   @Test(timeout = 4000)
86   public void test8()  throws Throwable  {
87       QueryTenantResponse queryTenantResponse0 = new QueryTenantResponse();
88       queryTenantResponse0.setTenantName("hKe?S+T{hz:~0");
89       assertEquals("hKe?S+T{hz:~0", queryTenantResponse0.getTenantName());
90   }
91
92   @Test(timeout = 4000)
93   public void test9()  throws Throwable  {
94       QueryTenantResponse queryTenantResponse0 = new QueryTenantResponse();
95       queryTenantResponse0.setTenantId("");
96       String string0 = queryTenantResponse0.getTenantId();
97       assertEquals("", string0);
98   }
99 }