### Question:
TabPanel implements ClientElement { void setupRender() { verifyAtleastOneTabIsPresent(); setActiveTab(); assignedClientId = javaScriptSupport.allocateClientId(clientId); } TabPanel();   TabPanel(String tabs,
         String active,
         String currentTabId,
         JavaScriptSupport javaScriptSupport,
         ComponentResources resources,
         Environment environment); String getClientId(); String getCssClass(); boolean isActiveTab(); String getActive(); Tab getCurrentTab(); String [] getTabs();  }### Answer:
@Test(expectedExceptions = IllegalArgumentException.class) public void test_if_setup_render_throws_exception_if_no_tabs_are_specified() { TabPanel component = new TabPanel(null, null, null, null, null, null); component.setupRender(); }