content: /*
   * This file was automatically generated by EvoSuite
   */
  
  package com.lts.swing.layout;
  
  import org.junit.Test;
  import org.junit.runner.RunWith;
  import org.evosuite.junit.EvoSuiteRunner;
  import static org.junit.Assert.*;
  import com.lts.swing.layout.WindowUtils;
  import java.awt.Container;
  import java.awt.Font;
  import java.awt.HeadlessException;
  import javax.swing.JTextArea;
  import org.junit.BeforeClass;
  
  @RunWith(EvoSuiteRunner.class)
  public class WindowUtilsEvoSuiteTest {
  
    @BeforeClass 
    public static void initEvoSuiteFramework(){ 
      org.evosuite.Properties.REPLACE_CALLS = true; 
    } 
  
  
    @Test
    public void test0()  throws Throwable  {
        int int0 = WindowUtils.labelWidth(1530, ", was not recognized.", (Font) null);
        assertEquals(0, int0);
    }
  
    @Test
    public void test1()  throws Throwable  {
        // Undeclared exception!
        try {
          WindowUtils.getScreenWidth();
          fail("Expecting exception: HeadlessException");
        } catch(HeadlessException e) {
        }
    }
  
    @Test
    public void test2()  throws Throwable  {
        JTextArea jTextArea0 = WindowUtils.buildTextArea("Dt&z\"Aa!b9zTDX", (Font) null, 0);
        // Undeclared exception!
        try {
          WindowUtils.center((Container) jTextArea0);
          fail("Expecting exception: HeadlessException");
        } catch(HeadlessException e) {
        }
    }
  
    @Test
    public void test3()  throws Throwable  {
        WindowUtils windowUtils0 = new WindowUtils();
        assertNotNull(windowUtils0);
    }
  
    @Test
    public void test4()  throws Throwable  {
        // Undeclared exception!
        try {
          WindowUtils.resize((Container) null, 0);
          fail("Expecting exception: HeadlessException");
        } catch(HeadlessException e) {
        }
    }
  
    @Test
    public void test5()  throws Throwable  {
        Font font0 = new Font("", 0, 0);
        int int0 = WindowUtils.labelWidth("", font0);
        assertEquals(0, int0);
    }
  
    @Test
    public void test6()  throws Throwable  {
        // Undeclared exception!
        try {
          WindowUtils.getScreenSize();
          fail("Expecting exception: HeadlessException");
        } catch(HeadlessException e) {
        }
    }
  
    @Test
    public void test7()  throws Throwable  {
        // Undeclared exception!
        try {
          WindowUtils.getFractionOfScreenSize((-1));
          fail("Expecting exception: HeadlessException");
        } catch(HeadlessException e) {
        }
    }
  }
  