/* * 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); } }