content: /*
   * This file was automatically generated by EvoSuite
   */
  
  package com.lts.swing;
  
  import org.junit.Test;
  import org.junit.runner.RunWith;
  import org.evosuite.junit.EvoSuiteRunner;
  import static org.junit.Assert.*;
  import com.lts.swing.LTSList;
  import java.awt.Component;
  import java.awt.event.KeyEvent;
  import java.awt.event.MouseEvent;
  import java.awt.event.MouseWheelEvent;
  import javax.swing.Icon;
  import javax.swing.JCheckBox;
  import javax.swing.JRadioButtonMenuItem;
  import javax.swing.MenuElement;
  import javax.swing.MenuSelectionManager;
  import javax.swing.event.MenuKeyEvent;
  import org.junit.BeforeClass;
  
  @RunWith(EvoSuiteRunner.class)
  public class LTSListEvoSuiteTest {
  
    @BeforeClass 
    public static void initEvoSuiteFramework(){ 
      org.evosuite.Properties.REPLACE_CALLS = true; 
    } 
  
  
    @Test
    public void test0()  throws Throwable  {
        LTSList lTSList0 = new LTSList();
        LTSList.LTSMouseListener lTSList_LTSMouseListener0 = lTSList0.new LTSMouseListener();
        MouseEvent mouseEvent0 = new MouseEvent((Component) lTSList0, (int) (byte) (-13), 47L, (int) (byte) (-13), 40, (int) (byte) (-13), (int) (byte) (-13), false);
        lTSList_LTSMouseListener0.mouseClicked(mouseEvent0);
        assertEquals("unknown type,(40,-13),absolute(0,0),button=0,modifiers=Ctrl+Shift+Alt Graph+Button1,extModifiers=Meta+Ctrl+Alt+Shift+Alt Graph+Button1+Button2+Button3,clickCount=-13", mouseEvent0.paramString());
    }
  
    @Test
    public void test1()  throws Throwable  {
        LTSList lTSList0 = new LTSList();
        LTSList.LTSMouseListener lTSList_LTSMouseListener0 = lTSList0.new LTSMouseListener();
        lTSList0.setSelectionInterval(1258, 1258);
        MouseEvent mouseEvent0 = new MouseEvent((Component) lTSList0, 2, (long) 40, 40, 2, 1258, 1585, (-1220), 2, true, 0);
        lTSList_LTSMouseListener0.mouseClicked(mouseEvent0);
        assertEquals(40L, mouseEvent0.getWhen());
    }
  
    @Test
    public void test2()  throws Throwable  {
        LTSList lTSList0 = new LTSList();
        LTSList.LTSMouseListener lTSList_LTSMouseListener0 = lTSList0.new LTSMouseListener();
        MouseEvent mouseEvent0 = new MouseEvent((Component) lTSList0, 2, (long) (-1239), (-1239), 2, (-1239), (-1239), (-1239), 2, true, 0);
        lTSList_LTSMouseListener0.mousePressed(mouseEvent0);
        assertEquals("unknown type,(2,-1239),absolute(-1239,-1239),button=0,modifiers=Alt+Shift+Alt Graph+Button2,extModifiers=Meta+Alt+Alt Graph+Button2+Button3,clickCount=2", mouseEvent0.paramString());
    }
  
    @Test
    public void test3()  throws Throwable  {
        LTSList lTSList0 = new LTSList();
        lTSList0.createEntry(1);
        assertEquals(false, lTSList0.isValidateRoot());
    }
  
    @Test
    public void test4()  throws Throwable  {
        LTSList lTSList0 = new LTSList();
        LTSList.LTSMouseListener lTSList_LTSMouseListener0 = lTSList0.new LTSMouseListener();
        MouseWheelEvent mouseWheelEvent0 = new MouseWheelEvent((Component) lTSList0, (-1), (long) (-1), (-1), (-1), (-1), (-1), false, (-1), 155, (-1));
        lTSList_LTSMouseListener0.mouseReleased((MouseEvent) mouseWheelEvent0);
        assertEquals(-1, mouseWheelEvent0.getX());
    }
  
    @Test
    public void test5()  throws Throwable  {
        LTSList lTSList0 = new LTSList();
        LTSList.LTSKeyAdapter lTSList_LTSKeyAdapter0 = lTSList0.new LTSKeyAdapter();
        JCheckBox jCheckBox0 = new JCheckBox((Icon) null, true);
        MenuElement[] menuElementArray0 = new MenuElement[8];
        MenuSelectionManager menuSelectionManager0 = new MenuSelectionManager();
        MenuKeyEvent menuKeyEvent0 = new MenuKeyEvent((Component) jCheckBox0, 0, (long) 0, 0, 0, 'o', menuElementArray0, menuSelectionManager0);
        lTSList_LTSKeyAdapter0.keyPressed((KeyEvent) menuKeyEvent0);
        assertEquals(0, menuKeyEvent0.getID());
    }
  
    @Test
    public void test6()  throws Throwable  {
        LTSList lTSList0 = new LTSList();
        LTSList.LTSMouseListener lTSList_LTSMouseListener0 = (LTSList.LTSMouseListener)lTSList0.getMouseAdapter();
        LTSList.LTSMouseListener lTSList_LTSMouseListener1 = (LTSList.LTSMouseListener)lTSList0.getMouseAdapter();
        assertSame(lTSList_LTSMouseListener1, lTSList_LTSMouseListener0);
        assertNotNull(lTSList_LTSMouseListener1);
    }
  
    @Test
    public void test7()  throws Throwable  {
        LTSList lTSList0 = new LTSList();
        LTSList.LTSKeyAdapter lTSList_LTSKeyAdapter0 = (LTSList.LTSKeyAdapter)lTSList0.getKeyAdapter();
        assertNotNull(lTSList_LTSKeyAdapter0);
    }
  
    @Test
    public void test8()  throws Throwable  {
        LTSList lTSList0 = new LTSList();
        LTSList.LTSMouseListener lTSList_LTSMouseListener0 = lTSList0.new LTSMouseListener();
        JRadioButtonMenuItem jRadioButtonMenuItem0 = new JRadioButtonMenuItem("VaOz", false);
        MouseWheelEvent mouseWheelEvent0 = new MouseWheelEvent((Component) jRadioButtonMenuItem0, 40, (long) (-378), (-1), (int) (byte)0, 40, 105, (int) (byte) (-13), 40, true, (int) (byte) (-13), (-1), 1);
        lTSList_LTSMouseListener0.mouseClicked((MouseEvent) mouseWheelEvent0);
        assertEquals(40, mouseWheelEvent0.getY());
    }
  
    @Test
    public void test9()  throws Throwable  {
        LTSList lTSList0 = new LTSList();
        LTSList.LTSMouseListener lTSList_LTSMouseListener0 = lTSList0.new LTSMouseListener();
        MouseEvent mouseEvent0 = new MouseEvent((Component) lTSList0, 2, (long) (-1239), (-1239), 2, (-1239), (-1239), (-1239), 2, true, 0);
        lTSList_LTSMouseListener0.mouseClicked(mouseEvent0);
        assertEquals(true, mouseEvent0.isPopupTrigger());
    }
  
    @Test
    public void test10()  throws Throwable  {
        LTSList lTSList0 = new LTSList();
        // Undeclared exception!
        try {
          lTSList0.deleteEntry(0);
          fail("Expecting exception: ClassCastException");
        } catch(ClassCastException e) {
          /*
           * javax.swing.JList$3 cannot be cast to javax.swing.DefaultListModel
           */
        }
    }
  
    @Test
    public void test11()  throws Throwable  {
        LTSList lTSList0 = new LTSList();
        lTSList0.deleteEntry((-1));
        assertEquals(true, lTSList0.isFontSet());
    }
  }
  