content: /*
   * This file was automatically generated by UTestGen and EvoSuite
   * Thu Mar 21 02:02:01 GMT 2024
   */
  
  
  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.junit.runner.RunWith;
  
  @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, separateClassLoader = true) 
  public class Capture_ESTest extends Capture_ESTest_scaffolding {
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testDV_CaptureThrowsNullPointerException() throws Throwable  {
        // Given: The capture class is instantiated without providing a file
        Capture capture = new Capture();
        
        // When: The DV_Capture method is called without providing a file
        try {
        capture.DV_Capture();
        fail("Expecting exception: NullPointerException");
        } catch(NullPointerException e) {
        // Then: A null pointer exception should be thrown
        verifyException("Capture", e);}
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testRunThrowsNullPointerException() throws Throwable  {
        Capture capture = new Capture();
        // Given: The capture object is created
        
        try {
        capture.run();
        
        // When: The run method is called on the capture object
        
        fail("Expecting exception: NullPointerException");
        
        // Then: A NullPointerException is expected to be thrown
        
        } catch(NullPointerException e) {
        // no message in exception (getMessage() returned null)
        
        verifyException("Capture", e);}
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testInitThrowsNullPointerException() throws Throwable  {
        // Given: A Capture object with a null GUI reference
        Capture capture = new Capture(0, 0, (GUI) null);
        
        // When: The init method is called on the Capture object
        try {
        capture.init();
        fail("Expecting exception: NullPointerException");
        } catch (NullPointerException e) {
        // Then: A NullPointerException should be thrown with no message
        verifyException("Capture", e);}
    }
  }
  