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.caloriecount.data.food.Food;
  import com.lts.caloriecount.data.food.FoodList;
  import com.lts.caloriecount.ui.foodwin.FoodRowModel;
  import com.lts.datalist.DataList;
  import com.lts.swing.table.rowmodel.RowModel;
  import com.lts.swing.table.rowmodel.RowModelDataListBridge;
  import com.lts.util.notifyinglist.ListEvent;
  import java.util.List;
  import org.junit.BeforeClass;
  
  @RunWith(EvoSuiteRunner.class)
  public class RowModelDataListBridgeEvoSuiteTest {
  
    @BeforeClass 
    public static void initEvoSuiteFramework(){ 
      org.evosuite.Properties.REPLACE_CALLS = true; 
    } 
  
  
    @Test
    public void test0()  throws Throwable  {
        RowModelDataListBridge rowModelDataListBridge0 = new RowModelDataListBridge();
        ListEvent.EventType listEvent_EventType0 = ListEvent.EventType.Update;
        ListEvent listEvent0 = new ListEvent(listEvent_EventType0);
        rowModelDataListBridge0.listEvent(listEvent0);
        assertEquals((-1), listEvent0.index);
    }
  
    @Test
    public void test1()  throws Throwable  {
        RowModelDataListBridge rowModelDataListBridge0 = new RowModelDataListBridge();
        // Undeclared exception!
        try {
          rowModelDataListBridge0.getRowData(42);
          fail("Expecting exception: NullPointerException");
        } catch(NullPointerException e) {
        }
    }
  
    @Test
    public void test2()  throws Throwable  {
        FoodList foodList0 = new FoodList((List) null);
        FoodRowModel foodRowModel0 = new FoodRowModel();
        RowModelDataListBridge rowModelDataListBridge0 = new RowModelDataListBridge((DataList) foodList0, (RowModel) foodRowModel0);
        Food food0 = new Food(0, "it8kT!-^V", 0, "it8kT!-^V");
        Food food1 = foodList0.createFood(food0);
        assertEquals(false, food1.isDirty());
    }
  
    @Test
    public void test3()  throws Throwable  {
        RowModelDataListBridge rowModelDataListBridge0 = new RowModelDataListBridge();
        ListEvent.EventType listEvent_EventType0 = ListEvent.EventType.AllChanged;
        ListEvent listEvent0 = new ListEvent(listEvent_EventType0, 512, (Object) 512);
        rowModelDataListBridge0.listEvent(listEvent0);
        assertEquals(512, listEvent0.index);
    }
  
    @Test
    public void test4()  throws Throwable  {
        RowModelDataListBridge rowModelDataListBridge0 = new RowModelDataListBridge();
        // Undeclared exception!
        try {
          rowModelDataListBridge0.getRowCount();
          fail("Expecting exception: NullPointerException");
        } catch(NullPointerException e) {
        }
    }
  
    @Test
    public void test5()  throws Throwable  {
        RowModelDataListBridge rowModelDataListBridge0 = new RowModelDataListBridge();
        ListEvent.EventType listEvent_EventType0 = ListEvent.EventType.Delete;
        ListEvent listEvent0 = new ListEvent(listEvent_EventType0, (-1755), (Object) listEvent_EventType0);
        rowModelDataListBridge0.listEvent(listEvent0);
        assertEquals((-1755), listEvent0.index);
    }
  }
  