aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-adapters-rest-interface/src/test/java/org/openecomp/mso/adapters/sdncrest/ServiceInformationESTest.java
blob: 0cfe6dcd6710a4ebb14149e201dfd540aba596c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
/*
 * This file was automatically generated by EvoSuite
 * Mon Feb 20 14:09:38 GMT 2017
 */

package org.openecomp.mso.adapters.sdncrest;

import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;

@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, useJEE = true)
public class ServiceInformationESTest extends ServiceInformationESTestscaffolding {

  @Test(timeout = 4000)
  public void test00()  throws Throwable  {
      ServiceInformation serviceInformation0 = new ServiceInformation("J|^", ":N1Q`D JY", "org.openecomp.mso.adapters.sdncrest.ServiceInformation", ":N1Q`D JY");
      String string0 = serviceInformation0.getSubscriberName();
      assertEquals("org.openecomp.mso.adapters.sdncrest.ServiceInformation", string0);
      assertEquals("J|^", serviceInformation0.getServiceType());
      assertEquals(":N1Q`D JY", serviceInformation0.getSubscriberGlobalId());
      assertEquals(":N1Q`D JY", serviceInformation0.getServiceInstanceId());
  }

  @Test(timeout = 4000)
  public void test01()  throws Throwable  {
      ServiceInformation serviceInformation0 = new ServiceInformation("", (String) null, "", "");
      String string0 = serviceInformation0.getSubscriberName();
      assertEquals("", string0);
  }

  @Test(timeout = 4000)
  public void test02()  throws Throwable  {
      ServiceInformation serviceInformation0 = new ServiceInformation("J|^", ":N1Q`D JY", "org.openecomp.mso.adapters.sdncrest.ServiceInformation", ":N1Q`D JY");
      String string0 = serviceInformation0.getSubscriberGlobalId();
      assertEquals(":N1Q`D JY", serviceInformation0.getServiceInstanceId());
      assertEquals("org.openecomp.mso.adapters.sdncrest.ServiceInformation", serviceInformation0.getSubscriberName());
      assertEquals("J|^", serviceInformation0.getServiceType());
      assertEquals(":N1Q`D JY", string0);
  }

  @Test(timeout = 4000)
  public void test03()  throws Throwable  {
      ServiceInformation serviceInformation0 = new ServiceInformation();
      serviceInformation0.setSubscriberGlobalId("");
      String string0 = serviceInformation0.getSubscriberGlobalId();
      assertEquals("", string0);
  }

  @Test(timeout = 4000)
  public void test04()  throws Throwable  {
      ServiceInformation serviceInformation0 = new ServiceInformation();
      serviceInformation0.setServiceType("org.openecomp.mso.adapters.sdncrest.ServiceInformation");
      String string0 = serviceInformation0.getServiceType();
      assertEquals("org.openecomp.mso.adapters.sdncrest.ServiceInformation", string0);
  }

  @Test(timeout = 4000)
  public void test05()  throws Throwable  {
      ServiceInformation serviceInformation0 = new ServiceInformation();
      serviceInformation0.setServiceInstanceId("q3jc2(qb=E+3uz_L%");
      String string0 = serviceInformation0.getServiceInstanceId();
      assertEquals("q3jc2(qb=E+3uz_L%", string0);
  }

  @Test(timeout = 4000)
  public void test06()  throws Throwable  {
      ServiceInformation serviceInformation0 = new ServiceInformation();
      serviceInformation0.setServiceInstanceId("");
      String string0 = serviceInformation0.getServiceInstanceId();
      assertEquals("", string0);
  }

  @Test(timeout = 4000)
  public void test07()  throws Throwable  {
      ServiceInformation serviceInformation0 = new ServiceInformation();
      String string0 = serviceInformation0.getSubscriberName();
      assertNull(string0);
  }

  @Test(timeout = 4000)
  public void test08()  throws Throwable  {
      ServiceInformation serviceInformation0 = new ServiceInformation();
      serviceInformation0.setSubscriberName((String) null);
      assertNull(serviceInformation0.getServiceInstanceId());
  }

  @Test(timeout = 4000)
  public void test09()  throws Throwable  {
      ServiceInformation serviceInformation0 = new ServiceInformation();
      String string0 = serviceInformation0.getServiceInstanceId();
      assertNull(string0);
  }

  @Test(timeout = 4000)
  public void test10()  throws Throwable  {
      ServiceInformation serviceInformation0 = new ServiceInformation();
      String string0 = serviceInformation0.getSubscriberGlobalId();
      assertNull(string0);
  }

  @Test(timeout = 4000)
  public void test11()  throws Throwable  {
      ServiceInformation serviceInformation0 = new ServiceInformation();
      String string0 = serviceInformation0.getServiceType();
      assertNull(string0);
  }

  @Test(timeout = 4000)
  public void test12()  throws Throwable  {
      ServiceInformation serviceInformation0 = new ServiceInformation();
      serviceInformation0.setServiceType("");
      String string0 = serviceInformation0.getServiceType();
      assertEquals("", string0);
  }
}