private static final String MARKUP = "<div wicket:id=\"id\"></div>";
@Test
public void testClientSideMarkupIsCreated_DefaultTabSelected() {
TagTester root = startComponentInPage(newClientSideTabs("id", null), MARKUP);
assertTrue(root.hasChildTag("ul"));
assertTrue(root.hasChildTag("div"));
//test tabs
TagTester tabs = root.getChild("class", "nav nav-tabs");
assertEquals("nav nav-tabs is the class of UL", tabs.getName(), "ul");
assertLi(tabs,0, true);
assertLi(tabs,1, false);
assertLi(tabs,2, false);
//there is no tab3
TagTester li3 = tabs.getChild("class", "tab3");
assertNull(li3);
//test main panel container.
TagTester panelContainer = root.getChild("class", "tab-content");
assertEquals("tab-content is the attribute of panelContainer", panelContainer.getName(), "div");
assertContentTabPanel(panelContainer, 0, true);
assertContentTabPanel(panelContainer, 1, false);
assertContentTabPanel(panelContainer, 2, false);
}