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.ListPopup;
  import java.awt.Container;
  import java.awt.HeadlessException;
  import java.awt.event.ActionEvent;
  import javax.swing.JTable;
  import javax.swing.table.DefaultTableColumnModel;
  import javax.swing.table.DefaultTableModel;
  import javax.swing.table.TableColumnModel;
  import javax.swing.table.TableModel;
  import org.junit.BeforeClass;
  
  @RunWith(EvoSuiteRunner.class)
  public class ListPopupEvoSuiteTest {
  
    @BeforeClass 
    public static void initEvoSuiteFramework(){ 
      org.evosuite.Properties.REPLACE_CALLS = true; 
    } 
  
  
    @Test
    public void test0()  throws Throwable  {
        JTable jTable0 = new JTable(312, 312);
        DefaultTableModel defaultTableModel0 = (DefaultTableModel)jTable0.getModel();
        ListPopup listPopup0 = new ListPopup("K1m^J6j]J", (TableModel) defaultTableModel0, (TableModel) defaultTableModel0, (Container) jTable0);
        Object object0 = new Object();
        ActionEvent actionEvent0 = new ActionEvent(object0, 312, "K1m^J6j]J", 312);
        // Undeclared exception!
        try {
          listPopup0.actionPerformed(actionEvent0);
          fail("Expecting exception: HeadlessException");
        } catch(HeadlessException e) {
        }
    }
  
    @Test
    public void test1()  throws Throwable  {
        JTable jTable0 = new JTable(312, 312);
        DefaultTableModel defaultTableModel0 = (DefaultTableModel)jTable0.getModel();
        ListPopup listPopup0 = new ListPopup("K1m^J6j]J", (TableModel) defaultTableModel0, (TableModel) defaultTableModel0, (Container) jTable0);
        DefaultTableColumnModel defaultTableColumnModel0 = (DefaultTableColumnModel)jTable0.getColumnModel();
        listPopup0.setColumnWidths((TableColumnModel) defaultTableColumnModel0);
        assertEquals(23400, defaultTableColumnModel0.getTotalColumnWidth());
    }
  }
  