/*
 * This file was automatically generated by EvoSuite
 * Thu Sep 20 14:00:44 GMT 2018
 */

package uk.ac.sanger.artemis.components;

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.components.ScoreChangeEvent;

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

  @Test(timeout = 4000)
  public void test0()  throws Throwable  {
      ScoreChangeEvent scoreChangeEvent0 = new ScoreChangeEvent("A1Ub`4p$+l", 0);
      int int0 = scoreChangeEvent0.getValue();
      assertEquals(0, int0);
  }

  @Test(timeout = 4000)
  public void test1()  throws Throwable  {
      ScoreChangeEvent scoreChangeEvent0 = new ScoreChangeEvent("B-", 192);
      int int0 = scoreChangeEvent0.getValue();
      assertEquals(192, int0);
  }

  @Test(timeout = 4000)
  public void test2()  throws Throwable  {
      ScoreChangeEvent scoreChangeEvent0 = null;
      try {
        scoreChangeEvent0 = new ScoreChangeEvent((Object) null, 0);
        fail("Expecting exception: IllegalArgumentException");
      
      } catch(IllegalArgumentException e) {
         //
         // null source
         //
         verifyException("java.util.EventObject", e);
      }
  }

  @Test(timeout = 4000)
  public void test3()  throws Throwable  {
      ScoreChangeEvent scoreChangeEvent0 = new ScoreChangeEvent("", (-1953));
      int int0 = scoreChangeEvent0.getValue();
      assertEquals((-1953), int0);
  }
}
