content: /*
   * This file was automatically generated by EvoSuite
   */
  
  package com.lts.lang.classloader;
  
  import org.junit.Test;
  import org.junit.runner.RunWith;
  import org.evosuite.junit.EvoSuiteRunner;
  import static org.junit.Assert.*;
  import com.lts.LTSException;
  import com.lts.lang.classloader.DirectoryClassRepository;
  import java.io.File;
  import java.io.InputStream;
  import java.util.Vector;
  import org.junit.BeforeClass;
  
  @RunWith(EvoSuiteRunner.class)
  public class DirectoryClassRepositoryEvoSuiteTest {
  
    @BeforeClass 
    public static void initEvoSuiteFramework(){ 
      org.evosuite.Properties.REPLACE_CALLS = true; 
    } 
  
  
    @Test
    public void test0()  throws Throwable  {
        DirectoryClassRepository directoryClassRepository0 = new DirectoryClassRepository();
        // Undeclared exception!
        try {
          directoryClassRepository0.getClassEntries();
          fail("Expecting exception: IllegalStateException");
        } catch(IllegalStateException e) {
          /*
           * No basedir set
           */
        }
    }
  
    @Test
    public void test1()  throws Throwable  {
        DirectoryClassRepository directoryClassRepository0 = new DirectoryClassRepository();
        String string0 = directoryClassRepository0.getFileNameFor("/K55#7GRS:^9/y:");
        assertEquals("/K55#7GRS:^9/y:.class", string0);
        assertNotNull(string0);
    }
  
    @Test
    public void test2()  throws Throwable  {
        DirectoryClassRepository directoryClassRepository0 = new DirectoryClassRepository();
        File file0 = directoryClassRepository0.toFile("/*@|~gm6$'kl");
        assertNotNull(file0);
        
        DirectoryClassRepository directoryClassRepository1 = new DirectoryClassRepository(file0);
        assertEquals("*@|~gm6$'kl", directoryClassRepository1.toString());
    }
  
    @Test
    public void test3()  throws Throwable  {
        DirectoryClassRepository directoryClassRepository0 = new DirectoryClassRepository();
        InputStream inputStream0 = directoryClassRepository0.getStreamForClass("/*@|~gm6$'kl");
        assertNull(inputStream0);
    }
  
    @Test
    public void test4()  throws Throwable  {
        DirectoryClassRepository directoryClassRepository0 = new DirectoryClassRepository();
        long long0 = directoryClassRepository0.getEntrySize(".");
        assertEquals((-1L), long0);
    }
  
    @Test
    public void test5()  throws Throwable  {
        DirectoryClassRepository directoryClassRepository0 = new DirectoryClassRepository();
        byte[] byteArray0 = directoryClassRepository0.getClassData("/*@|~gm6$'kl");
        assertNull(byteArray0);
    }
  
    @Test
    public void test6()  throws Throwable  {
        DirectoryClassRepository directoryClassRepository0 = new DirectoryClassRepository();
        Vector<Object> vector0 = directoryClassRepository0.findResources(".");
        assertNotNull(vector0);
        assertEquals("[file:/mnt/fastdata/ac1gf/SF110/dist/78_caloriecount/./]", vector0.toString());
    }
  
    @Test
    public void test7()  throws Throwable  {
        DirectoryClassRepository directoryClassRepository0 = new DirectoryClassRepository();
        Vector<Object> vector0 = directoryClassRepository0.findResources("/K55#7GRS:^9/y:.class");
        assertNotNull(vector0);
        assertEquals(0, vector0.size());
    }
  }
  