/*
 * This file was automatically generated by EvoSuite
 * Wed Sep 19 21:15:36 GMT 2018
 */

package uk.ac.sanger.artemis.editor;

import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import javax.swing.JDesktopPane;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
import uk.ac.sanger.artemis.editor.BigPane;
import uk.ac.sanger.artemis.io.BlastEntryInformation;

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

  @Test(timeout = 4000)
  public void test0()  throws Throwable  {
      // Undeclared exception!
      try { 
        BigPane.setUpSRSFrame(0, (JDesktopPane) null);
        fail("Expecting exception: NullPointerException");
      
      } catch(NullPointerException e) {
         //
         // no message in exception (getMessage() returned null)
         //
         verifyException("uk.ac.sanger.artemis.editor.BigPane", e);
      }
  }

  @Test(timeout = 4000)
  public void test1()  throws Throwable  {
      JDesktopPane jDesktopPane0 = new JDesktopPane();
      BigPane.setUpSRSFrame((-1298), jDesktopPane0);
      assertFalse(jDesktopPane0.getIgnoreRepaint());
  }

  @Test(timeout = 4000)
  public void test2()  throws Throwable  {
      BlastEntryInformation blastEntryInformation0 = new BlastEntryInformation();
      BigPane bigPane0 = null;
      try {
        bigPane0 = new BigPane(blastEntryInformation0);
        fail("Expecting exception: HeadlessException");
      
      } catch(HeadlessException e) {
         //
         // no message in exception (getMessage() returned null)
         //
         verifyException("java.awt.GraphicsEnvironment", e);
      }
  }
}
