content: /*
   * This file was automatically generated by UTestGen and EvoSuite
   * Thu Mar 21 04:40:09 GMT 2024
   */
  
  package net.sf.sugar.fspath.cli;
  
  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 net.sf.sugar.fspath.cli.FSPathExplorer;
  import org.evosuite.runtime.EvoRunner;
  import org.evosuite.runtime.EvoRunnerParameters;
  import org.evosuite.runtime.util.SystemInUtil;
  import org.junit.runner.RunWith;
  
  @RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism = true, useVFS = true, useVNET = true, resetStaticState = true, separateClassLoader = true) 
  public class FSPathExplorer_Original_ESTest extends FSPathExplorer_Original_ESTest_scaffolding {
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testStartThrowsNullPointerException() throws Throwable  {
        FSPathExplorer fSPathExplorer = new FSPathExplorer();
        // Undeclared exception!
        try { 
          fSPathExplorer.start();
          fail("Expecting exception: NullPointerException");
        
        } catch(NullPointerException e) {
           //
           // no message in exception (getMessage() returned null)
           //
        }
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testCreateFSPath() throws Throwable  {
        FSPathExplorer fSPathExplorer = new FSPathExplorer();
        fSPathExplorer.createFSPath();
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testMainThrowsTooManyResourcesException0() throws Throwable  {
        SystemInUtil.addInputLine("pwd");
        String[] arg0 = new String[4];
        arg0[0] = " please make sure that the directory exitst and a is readable";
        arg0[1] = " please make sure that the directory exitst and a is readable";
        arg0[2] = "pwd";
        arg0[3] = "pwd";
        // Undeclared exception!
        FSPathExplorer.main(arg0);
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testMain() throws Throwable  {
        SystemInUtil.addInputLine("exit");
        String[] arg0 = new String[0];
        FSPathExplorer.main(arg0);
        assertEquals(0, arg0.length);
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testMainThrowsTooManyResourcesException1() throws Throwable  {
        SystemInUtil.addInputLine(" please make sure that the directory exitst and a is readable");
        String[] arg0 = new String[4];
        arg0[0] = " please make sure that the directory exitst and a is readable";
        arg0[1] = " please make sure that the directory exitst and a is readable";
        arg0[2] = "pwd";
        arg0[3] = "pwd";
        // Undeclared exception!
        FSPathExplorer.main(arg0);
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testMainWithEmptyArray() throws Throwable  {
        String[] arg0 = new String[0];
        SystemInUtil.addInputLine("help");
        // Undeclared exception!
        FSPathExplorer.main(arg0);
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testMainThrowsNullPointerException0() throws Throwable  {
        String[] arg0 = new String[7];
        arg0[0] = "{j2<?/]pm^E7O";
        arg0[1] = "2AdhhkL";
        arg0[2] = "8kdfN";
        arg0[3] = "2AdhhkL";
        arg0[4] = "-find";
        arg0[5] = "B'*5F;,c<paP";
        arg0[6] = "~7{&?xJm6Yk4'Ujd{P*";
        // Undeclared exception!
        try { 
          FSPathExplorer.main(arg0);
          fail("Expecting exception: NullPointerException");
        
        } catch(NullPointerException e) {
           //
           // no message in exception (getMessage() returned null)
           //
        }
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testMainThrowsInstantiationError() throws Throwable  {
        String[] arg0 = new String[7];
        arg0[0] = "\n|                                                       |";
        arg0[1] = "\n|                                                       |";
        arg0[2] = "\n|                                                       |";
        arg0[3] = "-path";
        arg0[4] = "\n|                                                       |";
        arg0[5] = "\n|                                                       |";
        arg0[6] = "\n|                                                       |";
        // Undeclared exception!
        try { 
          FSPathExplorer.main(arg0);
          fail("Expecting exception: InstantiationError");
        
        } catch(InstantiationError e) {
           //
           // the java.io.File specified must be a Directory
           //
           verifyException("net.sf.sugar.fspath.DefaultFSPath", e);
        }
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testMainThrowsNullPointerException1() throws Throwable  {
        String[] arg0 = new String[9];
        arg0[0] = "-f";
        // Undeclared exception!
        try { 
          FSPathExplorer.main(arg0);
          fail("Expecting exception: NullPointerException");
        
        } catch(NullPointerException e) {
        }
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testMainThrowsNullPointerException2() throws Throwable  {
        String[] arg0 = new String[2];
        arg0[0] = "-p";
        // Undeclared exception!
        try { 
          FSPathExplorer.main(arg0);
          fail("Expecting exception: NullPointerException");
        
        } catch(NullPointerException e) {
        }
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testShowHelp() throws Throwable  {
        FSPathExplorer.showHelp();
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testShowWelcome() throws Throwable  {
        FSPathExplorer.showWelcome();
    }
  
    @Test
    @Timeout(value = 4000 , unit = TimeUnit.MILLISECONDS)
    public void testConfigureExplorerThrowsNullPointerException() throws Throwable  {
        FSPathExplorer fSPathExplorer = new FSPathExplorer();
        String[] arg0 = new String[6];
        // Undeclared exception!
        try { 
          fSPathExplorer.configureExplorer(arg0);
          fail("Expecting exception: NullPointerException");
        
        } catch(NullPointerException e) {
        }
    }
  }
  