content: /*
   * This file was automatically generated by UTestGen and EvoSuite
   * Thu Mar 21 08:54:00 GMT 2024
   */
  
  package net.sf.xbus.base.core.reflection;
  
  import org.junit.jupiter.api.Test;
  import static org.junit.jupiter.api.Assertions.*;
  import org.junit.jupiter.api.Timeout;
  import java.util.concurrent.TimeUnit;
  import static org.evosuite.runtime.EvoAssertions.*;
  import net.sf.xbus.base.core.reflection.XBUSClassLoader;
  import org.evosuite.runtime.EvoRunner;
  import org.evosuite.runtime.EvoRunnerParameters;
  import org.evosuite.runtime.System;
  import org.junit.runner.RunWith;
  
  @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, separateClassLoader = true) 
  public class XBUSClassLoader_Original_ESTest extends XBUSClassLoader_Original_ESTest_scaffolding {
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testGetInstanceThrowsSystemExitException() throws Throwable  {
        ClassLoader arg0 = ClassLoader.getSystemClassLoader();
        // Undeclared exception!
        try { 
          XBUSClassLoader.getInstance(arg0);
          fail("Expecting exception: System.SystemExitException");
        
        } catch(System.SystemExitException e) {
           //
           // no message in exception (getMessage() returned null)
           //
           verifyException("org.evosuite.runtime.System", e);
        }
    }
  }
  