assertThat(tabSet.getWidgets()).isEmpty();
assertThat(tabSet.getTabs().size()).isEqualTo(2);
// check bounds
Insets insets = tabSet.getTabInsets();
int barThickness = tabSet.getTabBarThickness();
TabInfo selectedTab = tabSet.getSelectedTab();
Rectangle tabSetBounds = tabSet.getModelBounds();
assertThat(selectedTab.getModelBounds()).isEqualTo(
new Rectangle(insets.left, barThickness + insets.right, tabSetBounds.width
- insets.getWidth(), tabSetBounds.height - barThickness - insets.getHeight()));
//
AbstractArrayObjectInfo objectTabsInfo =
tabSet.getChildren(AbstractArrayObjectInfo.class).get(0);