@Test public void checkTabIndex() { ListBox listBox = new ListBox(false); listBox.setTabIndex(2); Assert.assertEquals(2, listBox.getTabIndex()); }