content: /*
   * This file was automatically generated by EvoSuite
   */
  
  package com.lts.swing.table.rowmodel;
  
  import org.junit.Test;
  import org.junit.runner.RunWith;
  import org.evosuite.junit.EvoSuiteRunner;
  import static org.junit.Assert.*;
  import com.lts.swing.table.rowmodel.JTableEventBridge;
  import com.lts.swing.table.rowmodel.JTableEventListener;
  import java.awt.Component;
  import java.awt.event.KeyEvent;
  import java.awt.event.MouseEvent;
  import javax.swing.JTable;
  import javax.swing.ListSelectionModel;
  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 JTableEventBridgeEvoSuiteTest {
  
    @BeforeClass 
    public static void initEvoSuiteFramework(){ 
      org.evosuite.Properties.REPLACE_CALLS = true; 
    } 
  
  
    @Test
    public void test0()  throws Throwable  {
        JTableEventBridge jTableEventBridge0 = new JTableEventBridge();
        jTableEventBridge0.bridgeKeyTyped((KeyEvent) null);
    }
  
    @Test
    public void test1()  throws Throwable  {
        JTableEventBridge jTableEventBridge0 = new JTableEventBridge();
        jTableEventBridge0.addListener((JTableEventListener) null);
    }
  
    @Test
    public void test2()  throws Throwable  {
        JTableEventBridge jTableEventBridge0 = new JTableEventBridge();
        JTable jTable0 = jTableEventBridge0.getTable();
        assertNull(jTable0);
    }
  
    @Test
    public void test3()  throws Throwable  {
        JTable jTable0 = new JTable();
        JTableEventBridge jTableEventBridge0 = new JTableEventBridge(jTable0);
        MouseEvent mouseEvent0 = new MouseEvent((Component) jTable0, 1155, (long) 1155, 1155, 1155, 1155, 1155, false);
        jTableEventBridge0.birdgeDoubleClick(mouseEvent0);
        assertEquals(true, mouseEvent0.isShiftDown());
    }
  
    @Test
    public void test4()  throws Throwable  {
        JTableEventBridge jTableEventBridge0 = new JTableEventBridge();
        jTableEventBridge0.removeListener((JTableEventListener) null);
    }
  
    @Test
    public void test5()  throws Throwable  {
        JTableEventBridge jTableEventBridge0 = new JTableEventBridge();
        jTableEventBridge0.bridgeDoubleClick();
    }
  
    @Test
    public void test6()  throws Throwable  {
        JTableEventBridge jTableEventBridge0 = new JTableEventBridge();
        jTableEventBridge0.bridgeSingleClick();
    }
  
    @Test
    public void test7()  throws Throwable  {
        JTable jTable0 = new JTable();
        JTableEventBridge jTableEventBridge0 = new JTableEventBridge(jTable0);
        MouseEvent mouseEvent0 = new MouseEvent((Component) jTable0, 1155, (long) 1155, 1155, 1155, 1155, 1155, false);
        jTableEventBridge0.bridgeSingleClick(mouseEvent0);
        assertEquals(3, mouseEvent0.getModifiers());
    }
  
    @Test
    public void test8()  throws Throwable  {
        JTableEventBridge jTableEventBridge0 = new JTableEventBridge();
        Object[][] objectArray0 = new Object[7][10];
        DefaultTableModel defaultTableModel0 = new DefaultTableModel(objectArray0, objectArray0[0]);
        DefaultTableColumnModel defaultTableColumnModel0 = new DefaultTableColumnModel();
        JTable jTable0 = new JTable((TableModel) defaultTableModel0, (TableColumnModel) defaultTableColumnModel0, (ListSelectionModel) null);
        jTableEventBridge0.setTable(jTable0);
        assertEquals(0, jTable0.getColumnCount());
    }
  
    @Test
    public void test9()  throws Throwable  {
        JTable jTable0 = new JTable();
        JTableEventBridge jTableEventBridge0 = new JTableEventBridge(jTable0);
        jTableEventBridge0.release();
    }
  
    @Test
    public void test10()  throws Throwable  {
        JTableEventBridge jTableEventBridge0 = new JTableEventBridge();
        Object[][] objectArray0 = new Object[7][10];
        DefaultTableModel defaultTableModel0 = new DefaultTableModel(objectArray0, objectArray0[0]);
        DefaultTableColumnModel defaultTableColumnModel0 = new DefaultTableColumnModel();
        JTable jTable0 = new JTable((TableModel) defaultTableModel0, (TableColumnModel) defaultTableColumnModel0, (ListSelectionModel) null);
        jTableEventBridge0.initialize(jTable0);
        jTableEventBridge0.initialize((JTable) null);
        jTableEventBridge0.setTable(jTable0);
        assertEquals(-1, jTable0.getEditingRow());
    }
  }
  