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

package uk.ac.sanger.artemis.components;

import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import javax.swing.JFrame;
import javax.swing.JSplitPane;
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.FeatureKeyQualifierPredicate;
import uk.ac.sanger.artemis.FilteredEntryGroup;
import uk.ac.sanger.artemis.SimpleEntryGroup;
import uk.ac.sanger.artemis.components.BasePlotGroup;
import uk.ac.sanger.artemis.components.FeatureDisplay;
import uk.ac.sanger.artemis.components.GraphMenu;
import uk.ac.sanger.artemis.io.Key;

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

  @Test(timeout = 4000)
  public void test0()  throws Throwable  {
      SimpleEntryGroup simpleEntryGroup0 = new SimpleEntryGroup();
      Key key0 = new Key("org.biojava.utils.SimpleThreadPool$PooledThread");
      FeatureKeyQualifierPredicate featureKeyQualifierPredicate0 = new FeatureKeyQualifierPredicate(key0, "org.biojava.utils.SimpleThreadPool$PooledThread", "", true, true);
      FilteredEntryGroup filteredEntryGroup0 = new FilteredEntryGroup(simpleEntryGroup0, featureKeyQualifierPredicate0, "wQSdnE>%ygu,)");
      GraphMenu graphMenu0 = null;
      try {
        graphMenu0 = new GraphMenu((JFrame) null, filteredEntryGroup0, (BasePlotGroup) null, (FeatureDisplay) null, "wQSdnE>%ygu,)", (JSplitPane) null, 1221);
        fail("Expecting exception: NullPointerException");
      
      } catch(NullPointerException e) {
         //
         // no message in exception (getMessage() returned null)
         //
         verifyException("uk.ac.sanger.artemis.components.GraphMenu", e);
      }
  }

  @Test(timeout = 4000)
  public void test1()  throws Throwable  {
      GraphMenu graphMenu0 = null;
      try {
        graphMenu0 = new GraphMenu((JFrame) null, (EntryGroup) null, (BasePlotGroup) null, (FeatureDisplay) null, (JSplitPane) null);
        fail("Expecting exception: NullPointerException");
      
      } catch(NullPointerException e) {
         //
         // no message in exception (getMessage() returned null)
         //
         verifyException("uk.ac.sanger.artemis.components.GraphMenu", e);
      }
  }
}
