content: /*
   * This file was automatically generated by EvoSuite
   */
  
  package com.lts.util;
  
  import org.junit.Test;
  import org.junit.runner.RunWith;
  import org.evosuite.junit.EvoSuiteRunner;
  import static org.junit.Assert.*;
  import com.lts.util.ArraySorter;
  import com.lts.util.CompareMethod;
  import com.lts.util.IntegerCompareMethod;
  import com.lts.util.StringCompareMethod;
  import org.junit.BeforeClass;
  
  @RunWith(EvoSuiteRunner.class)
  public class ArraySorterEvoSuiteTest {
  
    @BeforeClass 
    public static void initEvoSuiteFramework(){ 
      org.evosuite.Properties.REPLACE_CALLS = true; 
    } 
  
  
    @Test
    public void test0()  throws Throwable  {
        ArraySorter arraySorter0 = new ArraySorter();
        assertNotNull(arraySorter0);
    }
  
    @Test
    public void test1()  throws Throwable  {
        StringCompareMethod stringCompareMethod0 = new StringCompareMethod();
        ArraySorter.sort((Object[]) null, (CompareMethod) stringCompareMethod0);
        assertEquals(true, stringCompareMethod0.ascending());
    }
  
    @Test
    public void test2()  throws Throwable  {
        Object[] objectArray0 = new Object[1];
        IntegerCompareMethod integerCompareMethod0 = new IntegerCompareMethod();
        ArraySorter.sort(objectArray0, (CompareMethod) integerCompareMethod0);
        assertEquals(true, integerCompareMethod0.ascending());
    }
  
    @Test
    public void test3()  throws Throwable  {
        Object[] objectArray0 = new Object[6];
        objectArray0[2] = (Object) (-13);
        objectArray0[3] = (Object) (-13);
        objectArray0[0] = (Object) (-13);
        objectArray0[1] = (Object) 1;
        objectArray0[4] = (Object) 1;
        objectArray0[5] = (Object) (-13);
        IntegerCompareMethod integerCompareMethod0 = new IntegerCompareMethod();
        ArraySorter.sort(objectArray0, (CompareMethod) integerCompareMethod0);
        assertEquals(true, integerCompareMethod0.ascending());
    }
  
    @Test
    public void test4()  throws Throwable  {
        Object[] objectArray0 = new Object[6];
        objectArray0[2] = (Object) (-13);
        objectArray0[3] = (Object) (-559);
        objectArray0[0] = (Object) 1;
        objectArray0[4] = (Object) 1;
        IntegerCompareMethod integerCompareMethod0 = new IntegerCompareMethod();
        // Undeclared exception!
        try {
          ArraySorter.sort(objectArray0, (CompareMethod) integerCompareMethod0);
          fail("Expecting exception: IllegalArgumentException");
        } catch(IllegalArgumentException e) {
          /*
           * null argument
           */
        }
    }
  }
  