content: /*
   * This file was automatically generated by UTestGen and EvoSuite
   * Thu Mar 21 00:17:00 GMT 2024
   */
  
  package httpanalyzer;
  
  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 httpanalyzer.Password;
  import org.evosuite.runtime.EvoRunner;
  import org.evosuite.runtime.EvoRunnerParameters;
  import org.junit.runner.RunWith;
  
  @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, separateClassLoader = true) 
  public class Password_ESTest extends Password_ESTest_scaffolding {
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testHashMD5() throws Throwable  {
        // No Comments were added
        String hashMD5 = Password.hashMD5("se@#");
        assertEquals("f1a44bed56db314815b884530f85b7e6", hashMD5);
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testCryptThrowsTooManyResourcesException() throws Throwable  {
        // No Comments were added
        // Undeclared exception!
        Password.crypt("W@QXqC||Lyurt}\"H", "W@QXqC||Lyurt}\"H");
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testCryptThrowsArrayIndexOutOfBoundsException() throws Throwable  {
        // This test ensures that the Password class throws an ArrayIndexOutOfBoundsException when the input string is empty.
        try {
        Password.crypt("", ""); // This line throws the exception
        fail("Expecting exception: ArrayIndexOutOfBoundsException");
        } catch(ArrayIndexOutOfBoundsException e) {
        verifyException("httpanalyzer.Password", e);}
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testCreatesPassword() throws Throwable  {
        // rollbacked to evosuite
        Password password = new Password();
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testCryptWithNonEmptyString() throws Throwable  {
        // No Comments were added
        // Undeclared exception!
        Password.crypt("abcdefghijklmnopqrstuvwxyz1234567890!@#$%^&*()_+", "h-");
    }
  }
  