@After
 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();
 }
 @Before
 public void initTestCase() {
   threadStopper.storeCurrentThreads();
   threadStopper.startRecordingTime();
   org.evosuite.runtime.jvm.ShutdownHookHandler.getInstance().initHandler();
   org.evosuite.runtime.sandbox.Sandbox.goingToExecuteSUTCode();
   setSystemProperties();
   org.evosuite.runtime.GuiSupport.setHeadless();
   org.evosuite.runtime.Runtime.getInstance().resetRuntime();
   org.evosuite.runtime.agent.InstrumentingAgent.activate();
 }