content: /*
   * This file was automatically generated by UTestGen and EvoSuite
   * Tue Mar 19 17:02:47 GMT 2024
   */
  
  package org.hibernate.search.util.logging.impl;
  
  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 org.evosuite.runtime.EvoRunner;
  import org.evosuite.runtime.EvoRunnerParameters;
  import org.hibernate.search.util.logging.impl.Log;
  import org.hibernate.search.util.logging.impl.LogCategory;
  import org.hibernate.search.util.logging.impl.LoggerFactory;
  import org.junit.runner.RunWith;
  
  @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, separateClassLoader = true) 
  public class LoggerFactory_Original_ESTest extends LoggerFactory_Original_ESTest_scaffolding {
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testMakeTakingNoArguments() throws Throwable  {
        Log make = LoggerFactory.make();
        assertNotNull(make);
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testMakeTakingLogCategory() throws Throwable  {
        LogCategory arg0 = LogCategory.QUERY;
        Log make = LoggerFactory.make(arg0);
        assertNotNull(make);
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testMakeTakingClassThrowsIllegalArgumentException() throws Throwable  {
        Class<Object> arg0 = Object.class;
        // Undeclared exception!
        try { 
          LoggerFactory.make(arg0);
          fail("Expecting exception: IllegalArgumentException");
        
        } catch(IllegalArgumentException e) {
           //
           // Invalid logger class java.lang.Object (implementation not found in null)
           //
           verifyException("org.jboss.logging.Logger$1", e);
        }
    }
  }
  