content: /*
   * This file was automatically generated by UTestGen and EvoSuite
   * Thu Mar 21 04:11:55 GMT 2024
   */
  
  package teder;
  
  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 java.awt.HeadlessException;
  import org.evosuite.runtime.EvoRunner;
  import org.evosuite.runtime.EvoRunnerParameters;
  import org.junit.runner.RunWith;
  import teder.TederFrame;
  
  @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, separateClassLoader = true) 
  public class TederFrame_ESTest extends TederFrame_ESTest_scaffolding {
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testFailsToCreateTederFrameThrowsHeadlessException() throws Throwable  {
        // Given
        TederFrame tederFrame = null;
        
        try {
        tederFrame = new TederFrame();
        fail("Expecting exception: HeadlessException");
        
        } catch (HeadlessException e) {
        // When
        verifyException("java.awt.GraphicsEnvironment", e);
        
        // Then
        assertNull(e.getMessage());}
    }
  }
  