### Question:
FoundationTab extends TabbedPanel<T> { public FoundationTab<T> setVerticalTab(boolean verticalTab) { this.verticalTab = verticalTab; return this; } FoundationTab(String id, List<T> tabs);  FoundationTab(String id, List<T> tabs, IModel<Integer> model); boolean isVerticalTab(); FoundationTab<T> setVerticalTab(boolean verticalTab);  }### Answer:
@Test public void renderSimpleTab() throws Exception { FoundationTab<ITab> tab = new FoundationTab<>("id", tabs); tester.startComponentInPage(tab); testRenderedTab(); tab = new FoundationTab<>("id", tabs); tester.startComponentInPage(tab.setVerticalTab(true)); TagTester tagByWicketId = tester.getTagByWicketId("tabs-container"); assertTrue(tagByWicketId.getAttributeContains("class", "vertical")); }