content: /**
   * Scaffolding file used to store all the setups needed to run 
   * tests automatically generated by EvoSuite
   * Mon Mar 18 04:55:28 GMT 2024
   */
  
  package com.gbshape.dbe.utils;
  
  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;
  
  import static org.evosuite.shaded.org.mockito.Mockito.*;
  @EvoSuiteClassExclude
  public class DBEHelper_Original_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.gbshape.dbe.utils.DBEHelper"; 
      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(); 
      try { initMocksToAvoidTimeoutsInTheTests(); } catch(ClassNotFoundException e) {} 
    } 
  
    @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(DBEHelper_Original_ESTest_scaffolding.class.getClassLoader() ,
        "oracle.jdbc.driver.OracleConversionReader",
        "org.apache.commons.lang.StringUtils",
        "oracle.jdbc.driver.OracleConversionInputStream",
        "oracle.sql.Datum",
        "oracle.sql.CharacterSetAL32UTF8",
        "com.gbshape.dbe.struts.bean.MessageBean",
        "org.apache.log4j.DefaultCategoryFactory",
        "org.postgresql.core.Logger",
        "org.apache.log4j.or.RendererMap",
        "org.apache.commons.lang.exception.NestableException",
        "com.gbshape.dbe.struts.bean.DataTypeBean",
        "org.apache.commons.configuration.AbstractConfiguration",
        "oracle.sql.CharacterRepConstants",
        "oracle.jdbc.driver.Message",
        "org.apache.log4j.Level",
        "oracle.jdbc.driver.OracleDriverExtension",
        "org.apache.commons.collections.MapIterator",
        "org.apache.commons.collections.iterators.SingletonIterator",
        "org.apache.commons.configuration.HierarchicalConfiguration$1",
        "org.postgresql.core.PGStream",
        "org.apache.commons.configuration.reloading.InvariantReloadingStrategy",
        "org.apache.log4j.spi.RootCategory",
        "org.apache.commons.collections.IterableMap",
        "org.apache.log4j.CategoryKey",
        "org.apache.commons.configuration.reloading.ReloadingStrategy",
        "org.apache.commons.configuration.PropertyConverter",
        "oracle.jdbc.driver.DBConversion",
        "org.apache.commons.configuration.ConfigurationException",
        "org.apache.commons.configuration.Configuration",
        "org.apache.commons.configuration.FileConfiguration",
        "org.apache.commons.configuration.tree.DefaultConfigurationNode$SubNodes",
        "org.apache.derby.client.am.Configuration",
        "org.apache.commons.lang.exception.NestableRuntimeException",
        "org.apache.log4j.helpers.Loader",
        "org.postgresql.util.PSQLException",
        "org.apache.log4j.ProvisionNode",
        "org.apache.log4j.Hierarchy",
        "org.apache.commons.collections.OrderedIterator",
        "org.apache.derby.client.am.Diagnosable",
        "org.apache.commons.configuration.XMLConfiguration$XMLNode",
        "org.apache.commons.collections.map.AbstractHashedMap$HashEntry",
        "org.apache.commons.lang.NullArgumentException",
        "org.apache.log4j.spi.DefaultRepositorySelector",
        "com.gbshape.dbe.struts.bean.ColumnBean",
        "oracle.sql.CharacterSetFactoryDefault",
        "org.apache.commons.configuration.event.EventSource",
        "org.apache.commons.configuration.AbstractFileConfiguration",
        "oracle.sql.CharacterSetFactoryThin",
        "org.apache.commons.lang.exception.ExceptionUtils",
        "org.apache.commons.configuration.interpol.ConfigurationInterpolator",
        "org.apache.commons.logging.impl.NoOpLog",
        "org.apache.commons.collections.OrderedMap",
        "org.apache.commons.collections.map.AbstractLinkedMap",
        "org.apache.commons.configuration.HierarchicalConfiguration$Node",
        "org.apache.log4j.spi.RendererSupport",
        "org.apache.commons.configuration.tree.DefaultExpressionEngine",
        "oracle.jdbc.util.SQLStateRange",
        "org.apache.commons.configuration.XMLConfiguration$XMLFileConfigurationDelegate",
        "org.apache.log4j.helpers.OptionConverter",
        "oracle.sql.CharacterSetAL16UTF16",
        "org.apache.derby.client.am.LogWriter",
        "org.postgresql.Driver",
        "oracle.jdbc.driver.DBConversion$AsciiStream",
        "oracle.sql.RAW",
        "org.apache.derby.client.am.SqlException",
        "org.apache.log4j.or.ObjectRenderer",
        "oracle.sql.CharacterSetUnknown",
        "org.apache.commons.collections.ResettableIterator",
        "org.apache.derby.jdbc.ClientDriver",
        "oracle.jdbc.util.SQLStateMapping",
        "org.apache.log4j.Logger",
        "org.apache.commons.lang.exception.NestableDelegate",
        "oracle.jdbc.driver.DatabaseError",
        "org.apache.commons.configuration.event.ConfigurationListener",
        "oracle.jdbc.driver.DBConversion$UnicodeStream",
        "org.apache.commons.collections.map.AbstractLinkedMap$LinkEntry",
        "org.apache.log4j.helpers.LogLog",
        "org.apache.log4j.Category",
        "org.apache.commons.configuration.tree.ExpressionEngine",
        "oracle.jdbc.driver.Message11",
        "org.apache.derby.iapi.services.info.ProductVersionHolder",
        "com.gbshape.dbe.struts.bean.DBDataBean",
        "oracle.sql.converter.CharacterConverterFactoryOGS",
        "org.apache.commons.configuration.AbstractConfiguration$2",
        "org.apache.commons.configuration.HierarchicalConfiguration",
        "org.apache.commons.configuration.AbstractConfiguration$1",
        "org.apache.log4j.spi.RepositorySelector",
        "org.apache.commons.collections.map.AbstractHashedMap",
        "org.apache.commons.configuration.event.ConfigurationErrorListener",
        "org.apache.log4j.spi.LoggerFactory",
        "org.apache.log4j.spi.Configurator",
        "org.apache.log4j.or.DefaultRenderer",
        "org.apache.derby.client.net.NetLogWriter",
        "org.apache.commons.collections.KeyValue",
        "com.gbshape.dbe.struts.bean.TableStructureBean",
        "oracle.sql.CharacterSetUTFE",
        "org.apache.derby.client.am.Configuration$1",
        "org.apache.commons.configuration.ConfigurationUtils",
        "org.apache.commons.configuration.AbstractHierarchicalFileConfiguration$FileConfigurationDelegate",
        "org.apache.log4j.PropertyConfigurator",
        "org.apache.commons.collections.OrderedMapIterator",
        "org.apache.commons.lang.text.StrLookup",
        "org.apache.commons.logging.impl.Log4JLogger",
        "org.apache.commons.configuration.ConversionException",
        "oracle.jdbc.driver.OracleBufferedStream",
        "org.apache.commons.configuration.AbstractHierarchicalFileConfiguration",
        "org.apache.commons.configuration.tree.ConfigurationNodeVisitor",
        "com.gbshape.dbe.utils.DBEHelper",
        "org.apache.commons.configuration.BaseConfiguration",
        "org.apache.commons.collections.Predicate",
        "org.apache.log4j.spi.AppenderAttachable",
        "oracle.sql.CharacterSetAL16UTF16LE",
        "oracle.sql.CharacterSetFactory",
        "org.apache.derby.client.am.ClientJDBCObjectFactory",
        "org.apache.commons.configuration.tree.ConfigurationNode",
        "org.apache.commons.lang.exception.Nestable",
        "org.apache.commons.configuration.ConfigurationRuntimeException",
        "org.apache.commons.configuration.tree.DefaultConfigurationNode",
        "org.postgresql.Driver$1",
        "org.apache.log4j.Priority",
        "org.apache.commons.configuration.XMLConfiguration",
        "oracle.sql.CharacterSet",
        "oracle.sql.CharacterSetUTF",
        "org.apache.log4j.spi.LoggerRepository",
        "org.apache.log4j.LogManager",
        "org.apache.commons.collections.map.LinkedMap",
        "oracle.sql.converter.CharacterConverterFactory",
        "oracle.jdbc.driver.OracleDriver",
        "org.apache.commons.lang.ArrayUtils"
      );
    } 
    private static void initMocksToAvoidTimeoutsInTheTests() throws ClassNotFoundException { 
      mock(Class.forName("javax.servlet.ServletContext", false, DBEHelper_Original_ESTest_scaffolding.class.getClassLoader()));
    }
  
    private static void resetClasses() {
      org.evosuite.runtime.classhandling.ClassResetter.getInstance().setClassLoader(DBEHelper_Original_ESTest_scaffolding.class.getClassLoader()); 
  
      org.evosuite.runtime.classhandling.ClassStateSupport.resetClasses(
        "com.gbshape.dbe.utils.DBEHelper",
        "org.apache.commons.lang.ArrayUtils",
        "com.gbshape.dbe.struts.bean.DBDataBean",
        "org.apache.commons.configuration.event.EventSource",
        "org.apache.commons.configuration.AbstractConfiguration",
        "org.apache.commons.configuration.tree.DefaultExpressionEngine",
        "org.apache.commons.configuration.HierarchicalConfiguration",
        "org.apache.commons.configuration.AbstractHierarchicalFileConfiguration",
        "org.apache.commons.configuration.XMLConfiguration",
        "org.apache.commons.logging.impl.NoOpLog",
        "org.apache.commons.configuration.tree.DefaultConfigurationNode",
        "org.apache.commons.configuration.HierarchicalConfiguration$Node",
        "org.apache.commons.configuration.tree.DefaultConfigurationNode$SubNodes",
        "org.apache.commons.configuration.BaseConfiguration",
        "org.apache.commons.configuration.AbstractFileConfiguration",
        "org.apache.commons.configuration.AbstractHierarchicalFileConfiguration$FileConfigurationDelegate",
        "org.apache.commons.configuration.XMLConfiguration$XMLFileConfigurationDelegate",
        "org.apache.commons.collections.map.AbstractHashedMap",
        "org.apache.commons.collections.map.AbstractLinkedMap",
        "org.apache.commons.collections.map.LinkedMap",
        "org.apache.commons.collections.map.AbstractHashedMap$HashEntry",
        "org.apache.commons.collections.map.AbstractLinkedMap$LinkEntry",
        "org.apache.commons.configuration.reloading.InvariantReloadingStrategy",
        "org.apache.log4j.Level",
        "org.apache.log4j.Priority",
        "org.apache.commons.logging.impl.Log4JLogger",
        "org.apache.log4j.Category",
        "org.apache.log4j.Logger",
        "org.apache.log4j.Hierarchy",
        "org.apache.log4j.spi.RootCategory",
        "org.apache.log4j.or.DefaultRenderer",
        "org.apache.log4j.or.RendererMap",
        "org.apache.log4j.DefaultCategoryFactory",
        "org.apache.log4j.spi.DefaultRepositorySelector",
        "org.apache.log4j.helpers.OptionConverter",
        "org.apache.log4j.helpers.Loader",
        "org.apache.log4j.helpers.LogLog",
        "org.apache.log4j.PropertyConfigurator",
        "org.apache.log4j.LogManager",
        "org.apache.log4j.CategoryKey",
        "org.apache.log4j.ProvisionNode",
        "org.apache.commons.configuration.AbstractConfiguration$2",
        "org.apache.commons.configuration.ConfigurationUtils",
        "org.apache.commons.lang.StringUtils",
        "org.apache.commons.lang.exception.NestableException",
        "org.apache.commons.configuration.ConfigurationException",
        "org.apache.commons.lang.exception.NestableDelegate",
        "org.apache.commons.lang.exception.ExceptionUtils",
        "com.gbshape.dbe.struts.bean.TableStructureBean",
        "oracle.jdbc.OracleConnectionWrapper",
        "oracle.jdbc.driver.OracleConnection",
        "oracle.jdbc.driver.PhysicalConnection",
        "oracle.jdbc.driver.T2CConnection",
        "oracle.jdbc.driver.OracleOCIConnection",
        "oracle.jdbc.oci.OracleOCIConnection",
        "com.gbshape.dbe.struts.bean.ColumnBean",
        "oracle.jdbc.rowset.OracleRowSet",
        "oracle.jdbc.rowset.OracleCachedRowSet",
        "oracle.jdbc.rowset.OracleWebRowSet",
        "oracle.jdbc.rowset.OracleJoinRowSet",
        "org.apache.derby.client.am.Configuration$1",
        "org.apache.derby.iapi.services.info.ProductVersionHolder",
        "org.apache.derby.client.am.Configuration",
        "org.apache.derby.jdbc.ClientDriver",
        "oracle.jdbc.rowset.OracleCachedRowSetReader",
        "oracle.jdbc.rowset.OracleCachedRowSetWriter",
        "oracle.jdbc.rowset.OracleWebRowSetXmlReaderImpl",
        "oracle.jdbc.rowset.OracleWebRowSetXmlWriterImpl",
        "com.gbshape.dbe.struts.bean.MessageBean",
        "oracle.jdbc.pool.OraclePooledConnection",
        "oracle.jdbc.driver.OracleDriver",
        "oracle.jdbc.util.SQLStateMapping",
        "oracle.jdbc.util.SQLStateRange",
        "oracle.jdbc.driver.DatabaseError",
        "oracle.jdbc.driver.Message11",
        "com.mysql.jdbc.log.StandardLogger",
        "com.mysql.jdbc.ConnectionProperties$ConnectionProperty",
        "com.mysql.jdbc.ConnectionProperties",
        "com.mysql.jdbc.log.NullLogger",
        "com.mysql.jdbc.Connection",
        "com.mysql.jdbc.Statement",
        "com.mysql.jdbc.PreparedStatement",
        "com.mysql.jdbc.CallableStatement",
        "com.mysql.jdbc.MysqlIO",
        "com.mysql.jdbc.Messages",
        "org.postgresql.jdbc2.AbstractJdbc2ResultSet",
        "com.mysql.jdbc.PreparedStatement$ParseInfo",
        "oracle.jdbc.driver.OracleDriver$1",
        "oracle.jdbc.pool.OracleDataSource",
        "oracle.jdbc.pool.OracleOCIConnectionPool",
        "oracle.jdbc.pool.OracleConnectionPoolDataSource",
        "oracle.sql.Datum",
        "oracle.sql.DatumWithConnection",
        "oracle.sql.BLOB",
        "oracle.sql.CLOB",
        "oracle.sql.CharacterSetFactory",
        "oracle.sql.CharacterSetFactoryThin",
        "oracle.sql.CharacterSetFactoryDefault",
        "oracle.sql.CharacterSet",
        "oracle.sql.converter.CharacterConverterFactory",
        "oracle.sql.converter.CharacterConverterFactoryJDBC",
        "oracle.sql.CharacterSetWithConverter",
        "oracle.sql.converter.CharacterConverters",
        "oracle.sql.converter.CharacterConverterJDBC",
        "oracle.sql.ConverterArchive",
        "oracle.sql.converter.CharacterConverter1Byte",
        "oracle.sql.CharacterSet1Byte",
        "oracle.sql.CHAR",
        "com.mysql.jdbc.ServerPreparedStatement",
        "com.mysql.jdbc.StringUtils",
        "com.mysql.jdbc.EscapeProcessor",
        "oracle.jdbc.rowset.OracleJDBCRowSet",
        "oracle.sql.RAW",
        "oracle.jdbc.driver.DBConversion",
        "oracle.sql.ARRAY",
        "oracle.sql.TypeDescriptor",
        "oracle.sql.ArrayDescriptor",
        "oracle.jdbc.rowset.OracleFilteredRowSet",
        "oracle.jdbc.oracore.OracleType",
        "oracle.jdbc.oracore.OracleNamedType",
        "oracle.jdbc.oracore.OracleTypeADT",
        "oracle.jdbc.oracore.OracleTypeCOLLECTION",
        "oracle.sql.SQLName",
        "com.mysql.jdbc.RowDataStatic",
        "oracle.jdbc.rowset.OracleRow",
        "org.postgresql.core.Logger",
        "org.postgresql.Driver",
        "org.postgresql.ds.common.BaseDataSource",
        "org.postgresql.ds.jdbc23.AbstractJdbc23PoolingDataSource",
        "org.postgresql.ds.PGPoolingDataSource",
        "org.postgresql.jdbc3.Jdbc3PoolingDataSource",
        "org.postgresql.ds.jdbc23.AbstractJdbc23PoolingDataSource$1",
        "org.postgresql.ds.PGConnectionPoolDataSource",
        "org.postgresql.Driver$1",
        "org.postgresql.jdbc2.AbstractJdbc2Connection",
        "org.postgresql.jdbc3.AbstractJdbc3Connection",
        "org.postgresql.jdbc3.Jdbc3Connection",
        "org.postgresql.core.v3.ConnectionFactoryImpl",
        "org.postgresql.core.v2.ConnectionFactoryImpl",
        "org.postgresql.core.ConnectionFactory",
        "org.postgresql.core.PGStream",
        "org.postgresql.util.PSQLException",
        "org.postgresql.util.GT",
        "org.postgresql.util.PSQLState",
        "oracle.jdbc.rowset.OracleRowSetMetaData",
        "com.mysql.jdbc.Field",
        "org.postgresql.jdbc3.Jdbc3ConnectionPool",
        "org.postgresql.ds.jdbc23.AbstractJdbc23PooledConnection",
        "org.postgresql.ds.PGPooledConnection",
        "oracle.jdbc.driver.T2CConnection$1",
        "com.mysql.jdbc.ResultSet",
        "oracle.jdbc.pool.OracleConnectionCacheImpl",
        "oracle.jdbc.pool.OracleConnectionEventListener",
        "oracle.jdbc.driver.OracleDriverExtension",
        "oracle.jdbc.driver.T2CDriverExtension",
        "org.apache.commons.configuration.XMLConfiguration$XMLNode",
        "org.apache.commons.configuration.PropertyConverter",
        "oracle.sql.TIMESTAMP",
        "oracle.jdbc.driver.OracleResultSet",
        "oracle.jdbc.driver.BaseResultSet",
        "oracle.jdbc.driver.ArrayDataResultSet",
        "oracle.jdbc.pool.OracleXAConnectionCacheImpl",
        "oracle.jdbc.driver.OracleReturnResultSet",
        "com.mysql.jdbc.ConnectionProperties$IntegerConnectionProperty",
        "com.mysql.jdbc.ConnectionProperties$MemorySizeConnectionProperty",
        "oracle.sql.CharacterSetUnknown",
        "oracle.sql.STRUCT",
        "com.mysql.jdbc.NotImplemented"
      );
    }
  }
  