content: /**
   * Scaffolding file used to store all the setups needed to run 
   * tests automatically generated by EvoSuite
   * Wed Mar 20 17:35:16 GMT 2024
   */
  
  package de.tudarmstadt.ukp.wikipedia.api;
  
  import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
  import org.junit.jupiter.api.BeforeAll;
  import org.junit.jupiter.api.BeforeEach;
  import org.junit.jupiter.api.AfterEach;
  import org.evosuite.runtime.sandbox.Sandbox;
  import org.evosuite.runtime.sandbox.Sandbox.SandboxMode;
  
  @EvoSuiteClassExclude
  public class WikipediaInfo_ESTest_scaffolding {
  
    @org.junit.jupiter.api.extension.RegisterExtension
    public org.evosuite.runtime.vnet.NonFunctionalRequirementExtension nfr = new org.evosuite.runtime.vnet.NonFunctionalRequirementExtension();
  
    private org.evosuite.runtime.thread.ThreadStopper threadStopper =  new org.evosuite.runtime.thread.ThreadStopper (org.evosuite.runtime.thread.KillSwitchHandler.getInstance(), 3000);
  
  
    @BeforeAll
    public static void initEvoSuiteFramework() { 
      org.evosuite.runtime.RuntimeSettings.className = "de.tudarmstadt.ukp.wikipedia.api.WikipediaInfo"; 
      org.evosuite.runtime.GuiSupport.initialize(); 
      org.evosuite.runtime.RuntimeSettings.maxNumberOfThreads = 100; 
      org.evosuite.runtime.RuntimeSettings.maxNumberOfIterationsPerLoop = 10000; 
      org.evosuite.runtime.RuntimeSettings.mockSystemIn = true; 
      org.evosuite.runtime.RuntimeSettings.sandboxMode = org.evosuite.runtime.sandbox.Sandbox.SandboxMode.OFF; 
      org.evosuite.runtime.sandbox.Sandbox.initializeSecurityManagerForSUT(); 
      org.evosuite.runtime.classhandling.JDKClassResetter.init();
      setSystemProperties();
      initializeClasses();
      org.evosuite.runtime.Runtime.getInstance().resetRuntime(); 
    } 
  
    @BeforeEach
    public void initTestCase(){ 
      threadStopper.storeCurrentThreads();
      threadStopper.startRecordingTime();
      org.evosuite.runtime.jvm.ShutdownHookHandler.getInstance().initHandler(); 
      org.evosuite.runtime.sandbox.Sandbox.goingToExecuteSUTCode(); 
      org.evosuite.runtime.GuiSupport.setHeadless(); 
      org.evosuite.runtime.Runtime.getInstance().resetRuntime(); 
      org.evosuite.runtime.agent.InstrumentingAgent.activate(); 
    } 
  
    @AfterEach
    public void doneWithTestCase(){ 
      threadStopper.killAndJoinClientThreads();
      org.evosuite.runtime.jvm.ShutdownHookHandler.getInstance().safeExecuteAddedHooks(); 
      org.evosuite.runtime.classhandling.JDKClassResetter.reset(); 
      resetClasses(); 
      org.evosuite.runtime.sandbox.Sandbox.doneWithExecutingSUTCode(); 
      org.evosuite.runtime.agent.InstrumentingAgent.deactivate(); 
      org.evosuite.runtime.GuiSupport.restoreHeadlessMode(); 
    } 
  
    public static void setSystemProperties() {
   
      /*No java.lang.System property to set*/
    }
  
    private static void initializeClasses() {
      org.evosuite.runtime.classhandling.ClassStateSupport.initializeClasses(WikipediaInfo_ESTest_scaffolding.class.getClassLoader() ,
        "org.jgrapht.graph.IntrusiveEdge",
        "de.tudarmstadt.ukp.wikipedia.api.WikiConstants$Language",
        "org.jgrapht.graph.GraphDelegator",
        "org.jgrapht.graph.ClassBasedEdgeFactory",
        "de.tudarmstadt.ukp.wikipedia.api.exception.WikiTitleParsingException",
        "de.tudarmstadt.ukp.wikipedia.api.DatabaseConfiguration",
        "de.tudarmstadt.ukp.wikipedia.api.Category",
        "de.tudarmstadt.ukp.wikipedia.api.exception.WikiException",
        "de.tudarmstadt.ukp.wikipedia.api.Page",
        "org.jgrapht.graph.AbstractBaseGraph",
        "org.apache.commons.logging.impl.Log4JLogger",
        "org.jgrapht.graph.AbstractGraph",
        "de.tudarmstadt.ukp.wikipedia.api.CycleHandler",
        "org.jgrapht.EdgeFactory",
        "de.tudarmstadt.ukp.wikipedia.api.WikipediaInfo",
        "org.jgrapht.graph.AbstractBaseGraph$Specifics",
        "de.tudarmstadt.ukp.wikipedia.util.CommonUtilities",
        "de.tudarmstadt.ukp.wikipedia.util.OS",
        "org.jgrapht.graph.DefaultDirectedGraph",
        "org.jgrapht.graph.AbstractBaseGraph$DirectedSpecifics",
        "org.jgrapht.graph.DefaultEdge",
        "org.jgrapht.UndirectedGraph",
        "de.tudarmstadt.ukp.wikipedia.api.Title",
        "org.jgrapht.graph.AsUndirectedGraph",
        "de.tudarmstadt.ukp.wikipedia.util.ApiUtilities$ProgressInfoMode",
        "de.tudarmstadt.ukp.wikipedia.api.exception.WikiApiException",
        "org.jgrapht.graph.AbstractBaseGraph$UndirectedSpecifics",
        "de.tudarmstadt.ukp.wikipedia.api.CategoryGraph",
        "de.tudarmstadt.ukp.wikipedia.api.exception.WikiPageNotFoundException",
        "org.jgrapht.graph.AbstractBaseGraph$ArrayListFactory",
        "org.jgrapht.graph.EdgeSetFactory",
        "de.tudarmstadt.ukp.wikipedia.api.MetaData",
        "org.jgrapht.Graph",
        "org.jgrapht.DirectedGraph",
        "de.tudarmstadt.ukp.wikipedia.api.Wikipedia",
        "de.tudarmstadt.ukp.wikipedia.api.PageQuery",
        "de.tudarmstadt.ukp.wikipedia.util.ApiUtilities",
        "org.apache.commons.logging.impl.Jdk14Logger",
        "de.tudarmstadt.ukp.wikipedia.api.WikiConstants"
      );
    } 
  
    private static void resetClasses() {
      org.evosuite.runtime.classhandling.ClassResetter.getInstance().setClassLoader(WikipediaInfo_ESTest_scaffolding.class.getClassLoader()); 
  
      org.evosuite.runtime.classhandling.ClassStateSupport.resetClasses(
        "de.tudarmstadt.ukp.wikipedia.api.WikipediaInfo",
        "de.tudarmstadt.ukp.wikipedia.util.ApiUtilities$ProgressInfoMode",
        "de.tudarmstadt.ukp.wikipedia.util.ApiUtilities",
        "de.tudarmstadt.ukp.wikipedia.api.DatabaseConfiguration",
        "de.tudarmstadt.ukp.wikipedia.api.Wikipedia",
        "org.apache.commons.logging.impl.Jdk14Logger",
        "de.tudarmstadt.ukp.wikipedia.api.MetaData",
        "de.tudarmstadt.ukp.wikipedia.api.hibernate.WikiHibernateUtil",
        "de.tudarmstadt.ukp.wikipedia.api.exception.WikiException",
        "de.tudarmstadt.ukp.wikipedia.api.exception.WikiApiException",
        "de.tudarmstadt.ukp.wikipedia.api.Category",
        "de.tudarmstadt.ukp.wikipedia.api.hibernate.CategoryDAO",
        "de.tudarmstadt.ukp.wikipedia.api.CategoryGraph",
        "de.tudarmstadt.ukp.wikipedia.api.hibernate.Page",
        "org.jgrapht.graph.AbstractGraph",
        "org.jgrapht.graph.AbstractBaseGraph",
        "org.jgrapht.graph.DefaultDirectedGraph",
        "org.jgrapht.graph.ClassBasedEdgeFactory",
        "org.jgrapht.graph.AbstractBaseGraph$Specifics",
        "org.jgrapht.graph.AbstractBaseGraph$DirectedSpecifics",
        "org.jgrapht.graph.AbstractBaseGraph$ArrayListFactory",
        "de.tudarmstadt.ukp.wikipedia.util.OS",
        "de.tudarmstadt.ukp.wikipedia.api.CycleHandler",
        "org.jgrapht.graph.GraphDelegator",
        "org.jgrapht.graph.AsUndirectedGraph",
        "de.tudarmstadt.ukp.wikipedia.api.Page",
        "de.tudarmstadt.ukp.wikipedia.api.hibernate.PageDAO",
        "org.jgrapht.alg.ConnectivityInspector",
        "de.tudarmstadt.ukp.wikipedia.api.exception.WikiPageNotFoundException",
        "de.tudarmstadt.ukp.wikipedia.api.util.GraphSerialization",
        "de.tudarmstadt.ukp.wikipedia.api.util.SerializableDirectedGraph",
        "de.tudarmstadt.ukp.wikipedia.api.WikiConstants",
        "de.tudarmstadt.ukp.wikipedia.util.CommonUtilities",
        "org.jgrapht.util.ArrayUnenforcedSet"
      );
    }
  }
  