content: /*
   * This file was automatically generated by EvoSuite
   */
  
  package com.lts.swing.combobox;
  
  import org.junit.Test;
  import org.junit.runner.RunWith;
  import org.evosuite.junit.EvoSuiteRunner;
  import static org.junit.Assert.*;
  import com.lts.swing.combobox.SimpleComboBoxModel;
  import java.util.List;
  import org.junit.BeforeClass;
  
  @RunWith(EvoSuiteRunner.class)
  public class SimpleComboBoxModelEvoSuiteTest {
  
    @BeforeClass 
    public static void initEvoSuiteFramework(){ 
      org.evosuite.Properties.REPLACE_CALLS = true; 
    } 
  
  
    @Test
    public void test0()  throws Throwable  {
        SimpleComboBoxModel simpleComboBoxModel0 = new SimpleComboBoxModel();
        int int0 = simpleComboBoxModel0.getSize();
        assertEquals(0, int0);
    }
  
    @Test
    public void test1()  throws Throwable  {
        SimpleComboBoxModel simpleComboBoxModel0 = new SimpleComboBoxModel((List) null);
        // Undeclared exception!
        try {
          simpleComboBoxModel0.getValues();
          fail("Expecting exception: NullPointerException");
        } catch(NullPointerException e) {
        }
    }
  
    @Test
    public void test2()  throws Throwable  {
        SimpleComboBoxModel simpleComboBoxModel0 = new SimpleComboBoxModel();
        // Undeclared exception!
        try {
          simpleComboBoxModel0.getElementAt((-1164));
          fail("Expecting exception: ArrayIndexOutOfBoundsException");
        } catch(ArrayIndexOutOfBoundsException e) {
        }
    }
  
    @Test
    public void test3()  throws Throwable  {
        Object[][] objectArray0 = new Object[5][9];
        SimpleComboBoxModel simpleComboBoxModel0 = new SimpleComboBoxModel(objectArray0);
        assertNotNull(simpleComboBoxModel0);
        
        simpleComboBoxModel0.setSelectedValue((Object) "pressedIcon");
        assertEquals(5, simpleComboBoxModel0.getSize());
    }
  
    @Test
    public void test4()  throws Throwable  {
        Object[][] objectArray0 = new Object[5][9];
        SimpleComboBoxModel simpleComboBoxModel0 = new SimpleComboBoxModel(objectArray0);
        assertNotNull(simpleComboBoxModel0);
        
        simpleComboBoxModel0.getSelectedValue();
        assertEquals(5, simpleComboBoxModel0.getSize());
    }
  
    @Test
    public void test5()  throws Throwable  {
        SimpleComboBoxModel simpleComboBoxModel0 = new SimpleComboBoxModel();
        Object object0 = simpleComboBoxModel0.displayToValue((Object) "none");
        assertNull(object0);
    }
  
    @Test
    public void test6()  throws Throwable  {
        SimpleComboBoxModel simpleComboBoxModel0 = new SimpleComboBoxModel();
        assertNotNull(simpleComboBoxModel0);
        
        simpleComboBoxModel0.insert(0, (Object) null, (Object) null);
        assertEquals(1, simpleComboBoxModel0.getSize());
    }
  
    @Test
    public void test7()  throws Throwable  {
        SimpleComboBoxModel simpleComboBoxModel0 = new SimpleComboBoxModel();
        assertNotNull(simpleComboBoxModel0);
        
        Object[][] objectArray0 = new Object[10][7];
        Object[] objectArray1 = new Object[7];
        objectArray1[0] = (Object) simpleComboBoxModel0;
        objectArray0[2] = objectArray1;
        objectArray0[4] = objectArray0[2];
        objectArray0[8] = objectArray0[4];
        objectArray0[9] = objectArray0[8];
        simpleComboBoxModel0.initialize(objectArray0);
        simpleComboBoxModel0.setSelectedValue((Object) null);
        assertEquals(10, simpleComboBoxModel0.getSize());
    }
  }
  