content: /*
   * This file was automatically generated by EvoSuite
   */
  
  package de.outstare.fortbattleplayer.gui.statistics;
  
  import org.junit.Test;
  import org.junit.runner.RunWith;
  import org.evosuite.junit.EvoSuiteRunner;
  import static org.junit.Assert.*;
  import de.outstare.fortbattleplayer.gui.statistics.SwapTableModel;
  import de.outstare.fortbattleplayer.statistics.PositionSwitch;
  import java.util.Collection;
  import java.util.LinkedList;
  import java.util.List;
  import javax.swing.table.TableRowSorter;
  import org.junit.BeforeClass;
  
  @RunWith(EvoSuiteRunner.class)
  public class SwapTableModelEvoSuiteTest {
  
    @BeforeClass 
    public static void initEvoSuiteFramework(){ 
      org.evosuite.Properties.REPLACE_CALLS = true; 
    } 
  
  
    @Test
    public void test0()  throws Throwable  {
        TableRowSorter<SwapTableModel> tableRowSorter0 = new TableRowSorter<SwapTableModel>();
        List<?> list0 = tableRowSorter0.getSortKeys();
        SwapTableModel swapTableModel0 = new SwapTableModel(list0);
        assertNotNull(swapTableModel0);
        
        swapTableModel0.findColumn("t?ac'y}vm");
        assertEquals(6, swapTableModel0.getColumnCount());
    }
  
    @Test
    public void test1()  throws Throwable  {
        TableRowSorter<SwapTableModel> tableRowSorter0 = new TableRowSorter<SwapTableModel>();
        List<?> list0 = tableRowSorter0.getSortKeys();
        SwapTableModel swapTableModel0 = new SwapTableModel(list0);
        assertNotNull(swapTableModel0);
        
        tableRowSorter0.setModel(swapTableModel0);
        assertEquals(6, swapTableModel0.getColumnCount());
    }
  
    @Test
    public void test2()  throws Throwable  {
        TableRowSorter<SwapTableModel> tableRowSorter0 = new TableRowSorter<SwapTableModel>();
        List<?> list0 = tableRowSorter0.getSortKeys();
        SwapTableModel swapTableModel0 = new SwapTableModel(list0);
        assertNotNull(swapTableModel0);
        
        String string0 = swapTableModel0.getColumnName((-1));
        assertEquals("", string0);
    }
  
    @Test
    public void test3()  throws Throwable  {
        TableRowSorter<SwapTableModel> tableRowSorter0 = new TableRowSorter<SwapTableModel>();
        List<?> list0 = tableRowSorter0.getSortKeys();
        SwapTableModel swapTableModel0 = new SwapTableModel(list0);
        assertNotNull(swapTableModel0);
        
        Class<?> class0 = swapTableModel0.getColumnClass((-1));
        assertEquals("Object", class0.getSimpleName());
    }
  
    @Test
    public void test4()  throws Throwable  {
        LinkedList<PositionSwitch> linkedList0 = new LinkedList<PositionSwitch>();
        linkedList0.add((PositionSwitch) null);
        SwapTableModel swapTableModel0 = new SwapTableModel((Collection<PositionSwitch>) linkedList0);
        assertNotNull(swapTableModel0);
        
        Integer integer0 = (Integer)swapTableModel0.getValueAt(0, 0);
        assertEquals(1, swapTableModel0.getRowCount());
        assertEquals(1, (int)integer0);
    }
  
    @Test
    public void test5()  throws Throwable  {
        LinkedList<PositionSwitch> linkedList0 = new LinkedList<PositionSwitch>();
        linkedList0.add((PositionSwitch) null);
        SwapTableModel swapTableModel0 = new SwapTableModel((Collection<PositionSwitch>) linkedList0);
        assertNotNull(swapTableModel0);
        
        swapTableModel0.getValueAt(0, 6);
        assertEquals(1, swapTableModel0.getRowCount());
    }
  }
  