/*
 * This file was automatically generated by EvoSuite
 * Fri Jun 08 18:57:52 GMT 2018
 */

package uk.ac.sanger.artemis.components.genebuilder;

import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.HeadlessException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
import uk.ac.sanger.artemis.EntryGroup;
import uk.ac.sanger.artemis.Feature;
import uk.ac.sanger.artemis.Selection;
import uk.ac.sanger.artemis.SimpleEntryGroup;
import uk.ac.sanger.artemis.chado.ChadoTransactionManager;
import uk.ac.sanger.artemis.components.genebuilder.BasicGeneBuilderFrame;

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

  @Test(timeout = 4000)
  public void test0()  throws Throwable  {
      ChadoTransactionManager chadoTransactionManager0 = new ChadoTransactionManager();
      SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
      BasicGeneBuilderFrame basicGeneBuilderFrame0 = null;
      try {
        basicGeneBuilderFrame0 = new BasicGeneBuilderFrame((Feature) null, simpleEntryGroup0, (Selection) null, chadoTransactionManager0);
        fail("Expecting exception: HeadlessException");
      
      } catch(HeadlessException e) {
         //
         // no message in exception (getMessage() returned null)
         //
         verifyException("java.awt.GraphicsEnvironment", e);
      }
  }

  @Test(timeout = 4000)
  public void test1()  throws Throwable  {
      BasicGeneBuilderFrame basicGeneBuilderFrame0 = null;
      try {
        basicGeneBuilderFrame0 = new BasicGeneBuilderFrame((Feature) null, (EntryGroup) null, (Selection) null);
        fail("Expecting exception: HeadlessException");
      
      } catch(HeadlessException e) {
         //
         // no message in exception (getMessage() returned null)
         //
         verifyException("java.awt.GraphicsEnvironment", e);
      }
  }
}
