aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-adapters-rest-interface/src/test/java/org/openecomp/mso/adapters/nwrest/ProviderVlanNetworkESTest.java
blob: 871683ad6f9a2e6184fe283ce6a7a81fa8cf66a0 (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
/*
 * This file was automatically generated by EvoSuite
 * Mon Nov 14 09:29:16 GMT 2016
 */

package org.openecomp.mso.adapters.nwrest;

import org.junit.Test;
import static org.junit.Assert.*;

import java.util.LinkedList;
import java.util.List;
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 ProviderVlanNetworkESTest extends ProviderVlanNetworkESTestscaffolding {

  @Test(timeout = 4000)
  public void test0()  throws Throwable  {
      ProviderVlanNetwork providerVlanNetwork0 = new ProviderVlanNetwork();
      List<Integer> list0 = providerVlanNetwork0.getVlans();
      assertNull(list0);
  }

  @Test(timeout = 4000)
  public void test1()  throws Throwable  {
      LinkedList<Integer> linkedList0 = new LinkedList<Integer>();
      Integer integer0 = new Integer((-1244));
      linkedList0.add(integer0);
      ProviderVlanNetwork providerVlanNetwork0 = new ProviderVlanNetwork("PF?v'FLs", (List<Integer>) linkedList0);
      List<Integer> list0 = providerVlanNetwork0.getVlans();
      assertEquals(1, list0.size());
  }

  @Test(timeout = 4000)
  public void test2()  throws Throwable  {
      ProviderVlanNetwork providerVlanNetwork0 = new ProviderVlanNetwork();
      String string0 = providerVlanNetwork0.getPhysicalNetworkName();
      assertNull(string0);
  }

  @Test(timeout = 4000)
  public void test3()  throws Throwable  {
      ProviderVlanNetwork providerVlanNetwork0 = new ProviderVlanNetwork("I;{", (List<Integer>) null);
      String string0 = providerVlanNetwork0.getPhysicalNetworkName();
      assertEquals("I;{", string0);
  }

  @Test(timeout = 4000)
  public void test4()  throws Throwable  {
      ProviderVlanNetwork providerVlanNetwork0 = new ProviderVlanNetwork("I;{", (List<Integer>) null);
      providerVlanNetwork0.setPhysicalNetworkName("h8H");
      assertEquals("h8H", providerVlanNetwork0.getPhysicalNetworkName());
  }

  @Test(timeout = 4000)
  public void test5()  throws Throwable  {
      LinkedList<Integer> linkedList0 = new LinkedList<Integer>();
      ProviderVlanNetwork providerVlanNetwork0 = new ProviderVlanNetwork("", (List<Integer>) linkedList0);
      String string0 = providerVlanNetwork0.getPhysicalNetworkName();
      assertEquals("", string0);
  }

  @Test(timeout = 4000)
  public void test6()  throws Throwable  {
      ProviderVlanNetwork providerVlanNetwork0 = new ProviderVlanNetwork();
      LinkedList<Integer> linkedList0 = new LinkedList<Integer>();
      providerVlanNetwork0.setVlans(linkedList0);
      assertEquals(0, linkedList0.size());
  }

  @Test(timeout = 4000)
  public void test7()  throws Throwable  {
      LinkedList<Integer> linkedList0 = new LinkedList<Integer>();
      ProviderVlanNetwork providerVlanNetwork0 = new ProviderVlanNetwork("3UmMF;h", (List<Integer>) linkedList0);
      List<Integer> list0 = providerVlanNetwork0.getVlans();
      assertTrue(list0.isEmpty());
  }
}