aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-adapter-utils/src/test/java/org/openecomp/mso/openstack/exceptions/MsoOpenstackExceptionESTest.java
blob: 00d7035c934e7314a3667f04fb5bd9dd32fbb454 (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
/*
 * This file was automatically generated by EvoSuite
 * Mon Nov 14 08:51:53 GMT 2016
 */

package org.openecomp.mso.openstack.exceptions;

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 MsoOpenstackExceptionESTest extends MsoOpenstackExceptionESTestscaffolding {

  @Test(timeout = 4000)
  public void test0()  throws Throwable  {
      MsoOpenstackException msoOpenstackException0 = new MsoOpenstackException((-20), "zOT*@]B@O~zuv2", "zOT*@]B@O~zuv2");
      MsoOpenstackException msoOpenstackException1 = new MsoOpenstackException((-20), "zOT*@]B@O~zuv2", "zOT*@]B@O~zuv2", (Exception) msoOpenstackException0);
      assertEquals(MsoExceptionCategory.OPENSTACK, msoOpenstackException1.getCategory());
  }

  @Test(timeout = 4000)
  public void test1()  throws Throwable  {
      MsoOpenstackException msoOpenstackException0 = new MsoOpenstackException((-20), "zOT*@]B@O~zuv2", "zOT*@]B@O~zuv2");
      String string0 = msoOpenstackException0.toString();
      assertNotNull(string0);
      assertEquals("-20 zOT*@]B@O~zuv2: zOT*@]B@O~zuv2", string0);
  }
}