content: /*
   * This file was automatically generated by EvoSuite
   */
  
  package com.lts.swing.treetable;
  
  import org.junit.Test;
  import org.junit.runner.RunWith;
  import org.evosuite.junit.EvoSuiteRunner;
  import static org.junit.Assert.*;
  import com.lts.swing.treetable.DefaultTreeTableModel;
  import com.lts.swing.treetable.TreeTableModel;
  import com.lts.swing.treetable.TreeTableModelAdapter;
  import javax.swing.JTable;
  import javax.swing.JTree;
  import javax.swing.table.TableColumnModel;
  import javax.swing.table.TableModel;
  import javax.swing.tree.TreeModel;
  import javax.swing.tree.TreePath;
  import org.junit.BeforeClass;
  
  @RunWith(EvoSuiteRunner.class)
  public class TreeTableModelAdapterEvoSuiteTest {
  
    @BeforeClass 
    public static void initEvoSuiteFramework(){ 
      org.evosuite.Properties.REPLACE_CALLS = true; 
    } 
  
  
    @Test
    public void test0()  throws Throwable  {
        DefaultTreeTableModel defaultTreeTableModel0 = new DefaultTreeTableModel();
        JTree jTree0 = new JTree((TreeModel) defaultTreeTableModel0);
        TreeTableModelAdapter treeTableModelAdapter0 = new TreeTableModelAdapter((TreeTableModel) defaultTreeTableModel0, jTree0);
        int int0 = treeTableModelAdapter0.getRowCount();
        assertEquals(1, int0);
    }
  
    @Test
    public void test1()  throws Throwable  {
        DefaultTreeTableModel defaultTreeTableModel0 = new DefaultTreeTableModel();
        JTree jTree0 = new JTree();
        TreeTableModelAdapter treeTableModelAdapter0 = new TreeTableModelAdapter((TreeTableModel) defaultTreeTableModel0, jTree0);
        treeTableModelAdapter0.tree.fireTreeCollapsed((TreePath) null);
        assertEquals(4, treeTableModelAdapter0.getRowCount());
    }
  
    @Test
    public void test2()  throws Throwable  {
        DefaultTreeTableModel defaultTreeTableModel0 = new DefaultTreeTableModel();
        Object[] objectArray0 = new Object[7];
        JTree jTree0 = new JTree(objectArray0);
        TreeTableModelAdapter treeTableModelAdapter0 = new TreeTableModelAdapter((TreeTableModel) defaultTreeTableModel0, jTree0);
        // Undeclared exception!
        try {
          treeTableModelAdapter0.setValueAt((Object) null, 253, 253);
          fail("Expecting exception: NullPointerException");
        } catch(NullPointerException e) {
        }
    }
  
    @Test
    public void test3()  throws Throwable  {
        DefaultTreeTableModel defaultTreeTableModel0 = new DefaultTreeTableModel();
        JTree jTree0 = new JTree();
        TreeTableModelAdapter treeTableModelAdapter0 = new TreeTableModelAdapter((TreeTableModel) defaultTreeTableModel0, jTree0);
        treeTableModelAdapter0.delayedFireTableDataChanged();
        assertEquals(0, treeTableModelAdapter0.getColumnCount());
    }
  
    @Test
    public void test4()  throws Throwable  {
        DefaultTreeTableModel defaultTreeTableModel0 = new DefaultTreeTableModel();
        JTree jTree0 = new JTree();
        TreeTableModelAdapter treeTableModelAdapter0 = new TreeTableModelAdapter((TreeTableModel) defaultTreeTableModel0, jTree0);
        JTable jTable0 = new JTable((TableModel) treeTableModelAdapter0, (TableColumnModel) null);
        assertEquals(0, jTable0.getColumnCount());
    }
  
    @Test
    public void test5()  throws Throwable  {
        DefaultTreeTableModel defaultTreeTableModel0 = new DefaultTreeTableModel();
        JTree jTree0 = new JTree();
        TreeTableModelAdapter treeTableModelAdapter0 = new TreeTableModelAdapter((TreeTableModel) defaultTreeTableModel0, jTree0);
        Class<Object> class0 = treeTableModelAdapter0.getColumnClass((-808));
        assertEquals(false, class0.isAnnotation());
    }
  
    @Test
    public void test6()  throws Throwable  {
        DefaultTreeTableModel defaultTreeTableModel0 = new DefaultTreeTableModel();
        JTree jTree0 = new JTree((TreeModel) defaultTreeTableModel0);
        TreeTableModelAdapter treeTableModelAdapter0 = new TreeTableModelAdapter((TreeTableModel) defaultTreeTableModel0, jTree0);
        String string0 = treeTableModelAdapter0.getColumnName((-6));
        assertNotNull(string0);
        assertEquals("", string0);
    }
  
    @Test
    public void test7()  throws Throwable  {
        DefaultTreeTableModel defaultTreeTableModel0 = new DefaultTreeTableModel();
        JTree jTree0 = new JTree();
        TreeTableModelAdapter treeTableModelAdapter0 = new TreeTableModelAdapter((TreeTableModel) defaultTreeTableModel0, jTree0);
        JTree jTree1 = treeTableModelAdapter0.getTree();
        assertEquals(true, jTree1.isOpaque());
    }
  
    @Test
    public void test8()  throws Throwable  {
        DefaultTreeTableModel defaultTreeTableModel0 = new DefaultTreeTableModel();
        JTree jTree0 = new JTree();
        TreeTableModelAdapter treeTableModelAdapter0 = new TreeTableModelAdapter((TreeTableModel) defaultTreeTableModel0, jTree0);
        // Undeclared exception!
        try {
          treeTableModelAdapter0.isCellEditable(9, 9);
          fail("Expecting exception: NullPointerException");
        } catch(NullPointerException e) {
        }
    }
  
    @Test
    public void test9()  throws Throwable  {
        DefaultTreeTableModel defaultTreeTableModel0 = new DefaultTreeTableModel();
        JTree jTree0 = new JTree();
        TreeTableModelAdapter treeTableModelAdapter0 = new TreeTableModelAdapter((TreeTableModel) defaultTreeTableModel0, jTree0);
        // Undeclared exception!
        try {
          treeTableModelAdapter0.getValueAt((-1286), (-1286));
          fail("Expecting exception: NullPointerException");
        } catch(NullPointerException e) {
        }
    }
  
    @Test
    public void test10()  throws Throwable  {
        DefaultTreeTableModel defaultTreeTableModel0 = new DefaultTreeTableModel();
        JTree jTree0 = new JTree();
        TreeTableModelAdapter treeTableModelAdapter0 = new TreeTableModelAdapter((TreeTableModel) defaultTreeTableModel0, jTree0);
        // Undeclared exception!
        try {
          treeTableModelAdapter0.getValueAt(155, 155);
          fail("Expecting exception: NullPointerException");
        } catch(NullPointerException e) {
        }
    }
  }
  