content: /**
   * Scaffolding file used to store all the setups needed to run 
   * tests automatically generated by EvoSuite
   * Thu Mar 21 05:48:16 GMT 2024
   */
  
  package macaw.presentationLayer;
  
  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 MacawWorkBench_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 = "macaw.presentationLayer.MacawWorkBench"; 
      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(MacawWorkBench_ESTest_scaffolding.class.getClassLoader() ,
        "macaw.persistenceLayer.production.SQLCurationConceptManager",
        "macaw.businessLayer.MacawCurationAPI",
        "macaw.persistenceLayer.demo.InMemoryOntologyTermFilter",
        "macaw.businessLayer.ValueLabel$EditingOperationType",
        "macaw.persistenceLayer.demo.InMemoryVariableFilter",
        "macaw.system.UserInterfaceFactory",
        "macaw.persistenceLayer.demo.InMemoryChangeEventManager",
        "macaw.system.MacawMessages",
        "macaw.persistenceLayer.production.ProductionCurationService",
        "macaw.persistenceLayer.demo.InMemoryListChoiceManager",
        "macaw.persistenceLayer.production.SQLSupportingDocumentsManager",
        "macaw.businessLayer.ValueLabel",
        "macaw.persistenceLayer.demo.InMemoryOntologyTermManager",
        "macaw.util.Displayable",
        "macaw.businessLayer.User",
        "macaw.persistenceLayer.ChangeEventGenerator",
        "macaw.persistenceLayer.production.ProductionRetrievalService",
        "macaw.businessLayer.CleaningState",
        "macaw.persistenceLayer.production.SQLConnectionManager",
        "macaw.presentationLayer.LoginDialog",
        "macaw.persistenceLayer.production.SQLOntologyTermManager",
        "macaw.system.Log",
        "macaw.businessLayer.MacawRetrievalAPI",
        "macaw.businessLayer.MacawListChoice",
        "macaw.businessLayer.SupportingDocument",
        "macaw.persistenceLayer.production.SQLVariableManager",
        "macaw.persistenceLayer.demo.InMemorySupportingDocumentFilter",
        "macaw.persistenceLayer.demo.InMemorySupportingDocumentsManager",
        "macaw.persistenceLayer.demo.InMemoryValueLabelManager",
        "macaw.system.MacawError",
        "macaw.persistenceLayer.production.SQLUserManager",
        "macaw.persistenceLayer.DummyDataProvider",
        "macaw.persistenceLayer.demo.DemonstrationCurationService",
        "macaw.businessLayer.MacawSecurityAPI",
        "macaw.persistenceLayer.production.SQLListChoiceManager",
        "macaw.system.MacawException",
        "macaw.persistenceLayer.production.SQLChangeEventManager",
        "macaw.persistenceLayer.production.SQLFilterQueries",
        "macaw.businessLayer.DerivedVariable",
        "macaw.presentationLayer.MacawWorkBench",
        "macaw.businessLayer.AliasFilePath",
        "macaw.persistenceLayer.demo.InMemoryVariableManager",
        "macaw.system.StartupOptions",
        "macaw.system.ChangeEventType",
        "macaw.businessLayer.OntologyTerm",
        "macaw.persistenceLayer.demo.InMemoryCurationConceptManager",
        "macaw.util.ValidationUtility",
        "macaw.persistenceLayer.production.SQLValueLabelManager",
        "macaw.system.MacawChangeEvent",
        "macaw.businessLayer.AvailabilityState",
        "macaw.businessLayer.RawVariable",
        "macaw.persistenceLayer.demo.InMemoryUserManager",
        "macaw.businessLayer.Variable",
        "macaw.system.SessionProperties",
        "macaw.util.SearchUtility",
        "macaw.businessLayer.Category",
        "macaw.system.MacawErrorType",
        "macaw.persistenceLayer.demo.DemonstrationRetrievalService"
      );
    } 
  
    private static void resetClasses() {
      org.evosuite.runtime.classhandling.ClassResetter.getInstance().setClassLoader(MacawWorkBench_ESTest_scaffolding.class.getClassLoader()); 
  
      org.evosuite.runtime.classhandling.ClassStateSupport.resetClasses(
        "macaw.presentationLayer.MacawWorkBench",
        "macaw.system.MacawMessages",
        "macaw.system.SessionProperties",
        "macaw.system.Log",
        "macaw.system.UserInterfaceFactory",
        "macaw.system.StartupOptions",
        "macaw.businessLayer.User",
        "macaw.persistenceLayer.demo.DemonstrationCurationService",
        "macaw.persistenceLayer.demo.InMemoryChangeEventManager",
        "macaw.persistenceLayer.demo.InMemoryUserManager",
        "macaw.persistenceLayer.demo.InMemoryCurationConceptManager",
        "macaw.persistenceLayer.demo.InMemoryOntologyTermManager",
        "macaw.persistenceLayer.demo.InMemorySupportingDocumentsManager",
        "macaw.persistenceLayer.demo.InMemoryListChoiceManager",
        "macaw.persistenceLayer.demo.InMemoryVariableManager",
        "macaw.persistenceLayer.demo.InMemoryValueLabelManager",
        "macaw.persistenceLayer.demo.InMemoryVariableFilter",
        "macaw.persistenceLayer.demo.InMemorySupportingDocumentFilter",
        "macaw.persistenceLayer.demo.InMemoryOntologyTermFilter",
        "macaw.persistenceLayer.DummyDataProvider",
        "macaw.businessLayer.MacawListChoice",
        "macaw.businessLayer.Category",
        "macaw.util.ValidationUtility",
        "macaw.util.SearchUtility",
        "macaw.system.MacawChangeEvent",
        "macaw.system.ChangeEventType",
        "macaw.businessLayer.CleaningState",
        "macaw.businessLayer.AvailabilityState",
        "macaw.businessLayer.AliasFilePath",
        "macaw.businessLayer.Variable",
        "macaw.businessLayer.DerivedVariable",
        "macaw.persistenceLayer.ChangeEventGenerator",
        "macaw.businessLayer.SupportingDocument",
        "macaw.system.MacawException",
        "macaw.system.MacawErrorType",
        "macaw.system.MacawError",
        "macaw.businessLayer.RawVariable",
        "macaw.businessLayer.OntologyTerm",
        "macaw.businessLayer.ValueLabel",
        "macaw.businessLayer.ValueLabel$EditingOperationType",
        "macaw.persistenceLayer.demo.DemonstrationRetrievalService",
        "macaw.presentationLayer.LoginDialog",
        "macaw.persistenceLayer.production.ProductionCurationService",
        "macaw.persistenceLayer.production.SQLChangeEventManager",
        "macaw.persistenceLayer.production.SQLConnectionManager",
        "macaw.persistenceLayer.production.SQLCurationConceptManager",
        "macaw.persistenceLayer.production.SQLUserManager",
        "macaw.persistenceLayer.production.SQLSupportingDocumentsManager",
        "macaw.persistenceLayer.production.SQLListChoiceManager",
        "macaw.persistenceLayer.production.SQLValueLabelManager",
        "macaw.persistenceLayer.production.SQLOntologyTermManager",
        "macaw.persistenceLayer.production.SQLFilterQueries",
        "macaw.persistenceLayer.production.SQLVariableManager",
        "macaw.persistenceLayer.production.ProductionRetrievalService"
      );
    }
  }
  