@Test
  public void selectedIndexTest() throws Exception {

    assertEquals(2, tabbox.getSelectedIndex());
    XulTabs tabs = (XulTabs) doc.getElementById("tabs");
    XulTab tab = (XulTab) doc.getElementById("tab1");
  }
 @Test
 public void getSelectedPanelTest() throws Exception {
   XulTabpanel panel = (XulTabpanel) doc.getElementById("panel3");
   assertEquals(panel, tabbox.getSelectedPanel());
 }
  @Test
  public void getTabPanelsTest() throws Exception {
    XulTabpanels panels = (XulTabpanels) doc.getElementById("tabpanels");

    assertEquals(panels, tabbox.getTabpanels());
  }
  @Test
  public void getTabsTest() throws Exception {
    XulTabs tabs = (XulTabs) doc.getElementById("tabs");

    assertEquals(tabs, tabbox.getTabs());
  }