content: /**
   * Scaffolding file used to store all the setups needed to run 
   * tests automatically generated by EvoSuite
   * Tue Mar 19 14:55:18 GMT 2024
   */
  
  package com.google.common.cache;
  
  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 CacheBuilderSpec_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 = "com.google.common.cache.CacheBuilderSpec"; 
      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(CacheBuilderSpec_ESTest_scaffolding.class.getClassLoader() ,
        "com.google.common.cache.CacheBuilderSpec$ConcurrencyLevelParser",
        "com.google.common.cache.LocalCache$WeightedStrongValueReference",
        "com.google.common.cache.CacheBuilderSpec$WriteDurationParser",
        "com.google.common.collect.Hashing",
        "com.google.common.cache.LoadingCache",
        "com.google.common.collect.ImmutableList$SubList",
        "com.google.common.base.Suppliers$SupplierOfInstance",
        "com.google.common.cache.CacheBuilderSpec$ValueStrengthParser",
        "com.google.common.cache.AbstractCache$StatsCounter",
        "com.google.common.cache.CacheBuilderSpec$AccessDurationParser",
        "com.google.common.collect.RegularImmutableList",
        "com.google.common.cache.CacheBuilderSpec$DurationParser",
        "com.google.common.cache.LocalCache$WriteThroughEntry",
        "com.google.common.cache.LocalCache$EntryFactory",
        "com.google.common.cache.LocalCache$Values",
        "com.google.common.cache.LocalCache$WeakValueReference",
        "com.google.common.collect.ImmutableCollection$ArrayBasedBuilder",
        "com.google.common.cache.Weigher",
        "com.google.common.collect.Platform",
        "com.google.common.collect.ImmutableMapKeySet",
        "com.google.common.cache.CacheBuilderSpec$RecordStatsParser",
        "com.google.common.base.CharMatcher$NegatedFastMatcher",
        "com.google.common.collect.RegularImmutableMap",
        "com.google.common.base.Ticker",
        "com.google.common.cache.CacheBuilderSpec$IntegerParser",
        "com.google.common.collect.AbstractMapEntry",
        "com.google.common.cache.LocalCache$StrongAccessWriteEntry",
        "com.google.common.cache.LocalCache$LocalManualCache",
        "com.google.common.base.Predicate",
        "com.google.common.collect.ImmutableMapEntry$TerminalEntry",
        "com.google.common.cache.CacheBuilderSpec$1",
        "com.google.common.cache.CacheBuilderSpec",
        "com.google.common.cache.CacheStats",
        "com.google.common.cache.LocalCache$WeakWriteEntry",
        "com.google.common.cache.LocalCache$KeyIterator",
        "com.google.common.collect.ImmutableAsList",
        "com.google.common.cache.CacheBuilderSpec$RefreshDurationParser",
        "com.google.common.cache.CacheBuilderSpec$LongParser",
        "com.google.common.base.MoreObjects$ToStringHelper$ValueHolder",
        "com.google.common.base.MoreObjects$ToStringHelper",
        "com.google.common.collect.RegularImmutableAsList",
        "com.google.common.cache.LocalCache$HashIterator",
        "com.google.common.cache.LocalCache$ValueReference",
        "com.google.common.collect.ImmutableMapEntrySet",
        "com.google.common.cache.LocalCache",
        "com.google.common.collect.UnmodifiableListIterator",
        "com.google.common.cache.LocalCache$StrongAccessEntry",
        "com.google.common.collect.ObjectArrays",
        "com.google.common.cache.LocalCache$KeySet",
        "com.google.common.cache.LocalCache$StrongValueReference",
        "com.google.common.base.CharMatcher",
        "com.google.common.base.CharMatcher$NegatedMatcher",
        "com.google.common.base.MoreObjects",
        "com.google.common.cache.LocalCache$WriteQueue",
        "com.google.common.base.CharMatcher$And",
        "com.google.common.collect.ImmutableList$1",
        "com.google.common.base.CharMatcher$5",
        "com.google.common.base.CharMatcher$4",
        "com.google.common.base.CharMatcher$3",
        "com.google.common.base.CharMatcher$2",
        "com.google.common.cache.ForwardingCache",
        "com.google.common.base.CharMatcher$9",
        "com.google.common.collect.ImmutableMap$MapViewOfValuesAsSingletonSets",
        "com.google.common.base.CharMatcher$8",
        "com.google.common.base.CharMatcher$7",
        "com.google.common.base.CharMatcher$6",
        "com.google.common.base.Preconditions",
        "com.google.common.cache.RemovalListener",
        "com.google.common.collect.UnmodifiableIterator",
        "com.google.common.base.CharMatcher$1",
        "com.google.common.collect.ImmutableMapValues",
        "com.google.common.base.CharMatcher$FastMatcher",
        "com.google.common.collect.ImmutableEntry",
        "com.google.common.base.CharMatcher$12",
        "com.google.common.base.CharMatcher$11",
        "com.google.common.collect.ImmutableCollection",
        "com.google.common.base.CharMatcher$10",
        "com.google.common.cache.LocalCache$ManualSerializationProxy",
        "com.google.common.base.CharMatcher$15",
        "com.google.common.base.CharMatcher$14",
        "com.google.common.base.CharMatcher$13",
        "com.google.common.cache.LocalCache$AccessQueue",
        "com.google.common.cache.CacheBuilderSpec$MaximumWeightParser",
        "com.google.common.cache.CacheBuilderSpec$ValueParser",
        "com.google.common.base.CharMatcher$BitSetMatcher",
        "com.google.common.collect.ImmutableList$ReverseImmutableList",
        "com.google.common.cache.LocalCache$WeightedWeakValueReference",
        "com.google.common.base.CharMatcher$RangesMatcher",
        "com.google.common.base.Objects",
        "com.google.common.base.Splitter",
        "com.google.common.collect.SingletonImmutableList",
        "com.google.common.collect.ImmutableCollection$Builder",
        "com.google.common.cache.LocalCache$EntrySet",
        "com.google.common.collect.BiMap",
        "com.google.common.collect.ImmutableSet",
        "com.google.common.base.Function",
        "com.google.common.collect.ImmutableMap",
        "com.google.common.collect.ImmutableMapEntry",
        "com.google.common.collect.AbstractIndexedListIterator",
        "com.google.common.collect.CollectPreconditions",
        "com.google.common.cache.CacheLoader",
        "com.google.common.base.Ticker$1",
        "com.google.common.cache.LocalCache$SoftValueReference",
        "com.google.common.cache.CacheBuilder",
        "com.google.common.base.Splitter$Strategy",
        "com.google.common.collect.RegularImmutableMap$NonTerminalMapEntry",
        "com.google.common.collect.ImmutableList$Builder",
        "com.google.common.cache.LocalCache$Strength",
        "com.google.common.cache.LocalCache$WeightedSoftValueReference",
        "com.google.common.collect.ForwardingObject",
        "com.google.common.cache.LocalCache$WeakAccessEntry",
        "com.google.common.cache.LocalCache$NullEntry",
        "com.google.common.base.Supplier",
        "com.google.common.base.AbstractIterator$1",
        "com.google.common.cache.LocalCache$WeakEntry",
        "com.google.common.cache.LocalCache$LoadingSerializationProxy",
        "com.google.common.collect.ImmutableBiMap",
        "com.google.common.cache.LocalCache$WeakAccessWriteEntry",
        "com.google.common.base.Splitter$1$1",
        "com.google.common.cache.LocalCache$AbstractCacheSet",
        "com.google.common.collect.ImmutableList",
        "com.google.common.cache.LocalCache$LocalLoadingCache",
        "com.google.common.base.AbstractIterator$State",
        "com.google.common.base.Suppliers",
        "com.google.common.cache.CacheBuilderSpec$MaximumSizeParser",
        "com.google.common.cache.CacheBuilderSpec$KeyStrengthParser",
        "com.google.common.cache.LocalCache$AbstractReferenceEntry",
        "com.google.common.cache.LocalCache$StrongEntry",
        "com.google.common.cache.CacheBuilderSpec$InitialCapacityParser",
        "com.google.common.base.Splitter$5",
        "com.google.common.collect.RegularImmutableMap$EntrySet",
        "com.google.common.cache.LocalCache$Strength$3",
        "com.google.common.cache.LocalCache$Strength$2",
        "com.google.common.base.Ascii",
        "com.google.common.cache.LocalCache$Strength$1",
        "com.google.common.cache.LocalCache$LoadingValueReference",
        "com.google.common.cache.LocalCache$ValueIterator",
        "com.google.common.collect.ImmutableMap$Builder",
        "com.google.common.cache.LocalCache$StrongWriteEntry",
        "com.google.common.base.CharMatcher$Or",
        "com.google.common.base.Splitter$1",
        "com.google.common.cache.LocalCache$Segment",
        "com.google.common.cache.LocalCache$ReferenceEntry",
        "com.google.common.base.Splitter$SplittingIterator",
        "com.google.common.base.AbstractIterator",
        "com.google.common.cache.CacheBuilder$1",
        "com.google.common.cache.CacheBuilder$3",
        "com.google.common.cache.CacheBuilder$2",
        "com.google.common.cache.Cache",
        "com.google.common.cache.LocalCache$EntryIterator"
      );
    } 
  
    private static void resetClasses() {
      org.evosuite.runtime.classhandling.ClassResetter.getInstance().setClassLoader(CacheBuilderSpec_ESTest_scaffolding.class.getClassLoader()); 
  
      org.evosuite.runtime.classhandling.ClassStateSupport.resetClasses(
        "com.google.common.base.Splitter",
        "com.google.common.base.CharMatcher$1",
        "com.google.common.base.CharMatcher$FastMatcher",
        "com.google.common.base.CharMatcher$13",
        "com.google.common.base.CharMatcher$RangesMatcher",
        "com.google.common.base.Preconditions",
        "com.google.common.base.CharMatcher$2",
        "com.google.common.base.CharMatcher$3",
        "com.google.common.base.CharMatcher$4",
        "com.google.common.base.CharMatcher$5",
        "com.google.common.base.CharMatcher$6",
        "com.google.common.base.CharMatcher$Or",
        "com.google.common.base.CharMatcher$7",
        "com.google.common.base.CharMatcher$8",
        "com.google.common.base.CharMatcher$15",
        "com.google.common.base.CharMatcher",
        "com.google.common.base.CharMatcher$9",
        "com.google.common.base.Splitter$1",
        "com.google.common.collect.ImmutableMap",
        "com.google.common.collect.ImmutableMap$Builder",
        "com.google.common.cache.CacheBuilderSpec$IntegerParser",
        "com.google.common.cache.CacheBuilderSpec$InitialCapacityParser",
        "com.google.common.collect.CollectPreconditions",
        "com.google.common.collect.AbstractMapEntry",
        "com.google.common.collect.ImmutableEntry",
        "com.google.common.collect.ImmutableMapEntry",
        "com.google.common.collect.ImmutableMapEntry$TerminalEntry",
        "com.google.common.cache.CacheBuilderSpec$LongParser",
        "com.google.common.cache.CacheBuilderSpec$MaximumSizeParser",
        "com.google.common.cache.CacheBuilderSpec$MaximumWeightParser",
        "com.google.common.cache.CacheBuilderSpec$ConcurrencyLevelParser",
        "com.google.common.cache.CacheBuilderSpec$KeyStrengthParser",
        "com.google.common.cache.LocalCache$Strength",
        "com.google.common.collect.ImmutableCollection$Builder",
        "com.google.common.collect.ObjectArrays",
        "com.google.common.collect.Platform",
        "com.google.common.cache.CacheBuilderSpec$ValueStrengthParser",
        "com.google.common.cache.CacheBuilderSpec$RecordStatsParser",
        "com.google.common.cache.CacheBuilderSpec$DurationParser",
        "com.google.common.cache.CacheBuilderSpec$AccessDurationParser",
        "com.google.common.cache.CacheBuilderSpec$WriteDurationParser",
        "com.google.common.cache.CacheBuilderSpec$RefreshDurationParser",
        "com.google.common.collect.RegularImmutableMap",
        "com.google.common.collect.Hashing",
        "com.google.common.collect.RegularImmutableMap$NonTerminalMapEntry",
        "com.google.common.cache.CacheBuilderSpec",
        "com.google.common.collect.ImmutableCollection",
        "com.google.common.collect.ImmutableList",
        "com.google.common.collect.RegularImmutableList",
        "com.google.common.cache.CacheBuilderSpec$1",
        "com.google.common.base.Splitter$5",
        "com.google.common.base.AbstractIterator",
        "com.google.common.base.Splitter$SplittingIterator",
        "com.google.common.base.Splitter$1$1",
        "com.google.common.base.AbstractIterator$State",
        "com.google.common.base.AbstractIterator$1",
        "com.google.common.collect.ImmutableCollection$ArrayBasedBuilder",
        "com.google.common.collect.ImmutableList$Builder",
        "com.google.common.collect.SingletonImmutableList",
        "com.google.common.cache.CacheBuilder$1",
        "com.google.common.base.Suppliers",
        "com.google.common.base.Suppliers$SupplierOfInstance",
        "com.google.common.cache.CacheStats",
        "com.google.common.cache.CacheBuilder$2",
        "com.google.common.base.Ticker$1",
        "com.google.common.base.Ticker",
        "com.google.common.cache.CacheBuilder$3",
        "com.google.common.cache.CacheBuilder",
        "com.google.common.base.Objects",
        "com.google.common.base.MoreObjects",
        "com.google.common.base.MoreObjects$ToStringHelper",
        "com.google.common.base.MoreObjects$ToStringHelper$ValueHolder",
        "com.google.common.base.Ascii"
      );
    }
  }
  