/*
 * This file was automatically generated by EvoSuite
 * Wed Sep 19 22:48:17 GMT 2018
 */

package uk.ac.sanger.artemis.io;

import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
import uk.ac.sanger.artemis.io.ReadEvent;

@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, separateClassLoader = false, useJEE = true) 
public class ReadEvent_ESTest extends ReadEvent_ESTest_scaffolding {

  @Test(timeout = 4000)
  public void test0()  throws Throwable  {
      ReadEvent readEvent0 = new ReadEvent("", (String) null);
      String string0 = readEvent0.getMessage();
      assertNull(string0);
  }

  @Test(timeout = 4000)
  public void test1()  throws Throwable  {
      ReadEvent readEvent0 = new ReadEvent("4V2i", "4V2i");
      String string0 = readEvent0.getMessage();
      assertEquals("4V2i", string0);
  }

  @Test(timeout = 4000)
  public void test2()  throws Throwable  {
      ReadEvent readEvent0 = null;
      try {
        readEvent0 = new ReadEvent((Object) null, "=:/7wLl3'Rbe@sXSF']");
        fail("Expecting exception: IllegalArgumentException");
      
      } catch(IllegalArgumentException e) {
         //
         // null source
         //
         verifyException("java.util.EventObject", e);
      }
  }

  @Test(timeout = 4000)
  public void test3()  throws Throwable  {
      ReadEvent readEvent0 = new ReadEvent("", "");
      String string0 = readEvent0.getMessage();
      assertEquals("", string0);
  }
}
