content: /*
   * This file was automatically generated by UTestGen and EvoSuite
   * Sun Mar 17 20:48:10 GMT 2024
   */
  
  package com.eteks.sweethome3d;
  
  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 com.eteks.sweethome3d.SweetHome3D;
  import com.eteks.sweethome3d.model.Home;
  import com.eteks.sweethome3d.model.HomeRecorder;
  import java.awt.HeadlessException;
  import javax.swing.JFrame;
  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 SweetHome3D_Original_ESTest extends SweetHome3D_Original_ESTest_scaffolding {
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testInitThrowsHeadlessException() throws Throwable  {
        SweetHome3D sweetHome3D = new SweetHome3D();
        String[] arg0 = new String[2];
        // Undeclared exception!
        try { 
          sweetHome3D.init(arg0);
          fail("Expecting exception: HeadlessException");
        
        } catch(HeadlessException e) {
           //
           // no message in exception (getMessage() returned null)
           //
           verifyException("java.awt.GraphicsEnvironment", e);
        }
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testGetContentManagerThrowsIllegalArgumentException() throws Throwable  {
        SweetHome3D sweetHome3D = new SweetHome3D();
        // Undeclared exception!
        try { 
          sweetHome3D.getContentManager();
          fail("Expecting exception: IllegalArgumentException");
        
        } catch(IllegalArgumentException e) {
           //
           // Unknown resource /com/eteks/sweethome3d/io/resources/bed140x190.obj
           //
           verifyException("com.eteks.sweethome3d.tools.ResourceURLContent", e);
        }
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testGetVersionThrowsIllegalArgumentException() throws Throwable  {
        SweetHome3D sweetHome3D = new SweetHome3D();
        // Undeclared exception!
        try { 
          sweetHome3D.getVersion();
          fail("Expecting exception: IllegalArgumentException");
        
        } catch(IllegalArgumentException e) {
           //
           // Unknown resource /com/eteks/sweethome3d/io/resources/bed140x190.obj
           //
           verifyException("com.eteks.sweethome3d.tools.ResourceURLContent", e);
        }
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testGetUserPreferencesThrowsIllegalArgumentException() throws Throwable  {
        SweetHome3D sweetHome3D = new SweetHome3D();
        // Undeclared exception!
        try { 
          sweetHome3D.getUserPreferences();
          fail("Expecting exception: IllegalArgumentException");
        
        } catch(IllegalArgumentException e) {
           //
           // Unknown resource /com/eteks/sweethome3d/io/resources/bed140x190.obj
           //
           verifyException("com.eteks.sweethome3d.tools.ResourceURLContent", e);
        }
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testStartThrowsIllegalArgumentException() throws Throwable  {
        SweetHome3D sweetHome3D = new SweetHome3D();
        String[] arg0 = new String[2];
        arg0[0] = "-open";
        arg0[1] = "";
        // Undeclared exception!
        try { 
          sweetHome3D.start(arg0);
          fail("Expecting exception: IllegalArgumentException");
        
        } catch(IllegalArgumentException e) {
           //
           // Unknown resource /com/eteks/sweethome3d/io/resources/bed140x190.obj
           //
           verifyException("com.eteks.sweethome3d.tools.ResourceURLContent", e);
        }
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testStartWithNonEmptyArray() throws Throwable  {
        SweetHome3D sweetHome3D = new SweetHome3D();
        String[] arg0 = new String[2];
        arg0[0] = "";
        // Undeclared exception!
        try { 
          sweetHome3D.start(arg0);
          fail("Expecting exception: IllegalArgumentException");
        
        } catch(IllegalArgumentException e) {
           //
           // Unknown resource /com/eteks/sweethome3d/io/resources/bed140x190.obj
           //
           verifyException("com.eteks.sweethome3d.tools.ResourceURLContent", e);
        }
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testGetPluginManagerThrowsIllegalArgumentException() throws Throwable  {
        SweetHome3D sweetHome3D = new SweetHome3D();
        // Undeclared exception!
        try { 
          sweetHome3D.getPluginManager();
          fail("Expecting exception: IllegalArgumentException");
        
        } catch(IllegalArgumentException e) {
           //
           // Unknown resource /com/eteks/sweethome3d/io/resources/bed140x190.obj
           //
           verifyException("com.eteks.sweethome3d.tools.ResourceURLContent", e);
        }
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testGetHomeRecorder() throws Throwable  {
        SweetHome3D sweetHome3D = new SweetHome3D();
        HomeRecorder.Type arg0 = HomeRecorder.Type.DEFAULT;
        HomeRecorder homeRecorder = sweetHome3D.getHomeRecorder(arg0);
        assertNotNull(homeRecorder);
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testGetNameThrowsIllegalArgumentException() throws Throwable  {
        SweetHome3D sweetHome3D = new SweetHome3D();
        // Undeclared exception!
        try { 
          sweetHome3D.getName();
          fail("Expecting exception: IllegalArgumentException");
        
        } catch(IllegalArgumentException e) {
           //
           // Unknown resource /com/eteks/sweethome3d/io/resources/bed140x190.obj
           //
           verifyException("com.eteks.sweethome3d.tools.ResourceURLContent", e);
        }
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testGetHomeFrame() throws Throwable  {
        SweetHome3D sweetHome3D = new SweetHome3D();
        JFrame homeFrame = sweetHome3D.getHomeFrame((Home) null);
        assertNull(homeFrame);
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testCreateHomeFrameControllerThrowsIllegalArgumentException() throws Throwable  {
        SweetHome3D sweetHome3D = new SweetHome3D();
        Home arg0 = new Home();
        // Undeclared exception!
        try { 
          sweetHome3D.createHomeFrameController(arg0);
          fail("Expecting exception: IllegalArgumentException");
        
        } catch(IllegalArgumentException e) {
           //
           // Unknown resource /com/eteks/sweethome3d/io/resources/bed140x190.obj
           //
           verifyException("com.eteks.sweethome3d.tools.ResourceURLContent", e);
        }
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testMainThrowsHeadlessException() throws Throwable  {
        String[] arg0 = new String[1];
        // Undeclared exception!
        try { 
          SweetHome3D.main(arg0);
          fail("Expecting exception: HeadlessException");
        
        } catch(HeadlessException e) {
           //
           // no message in exception (getMessage() returned null)
           //
           verifyException("java.awt.GraphicsEnvironment", e);
        }
    }
  }
  