assertText("", textBoxesOnButtonTab.get(0));
// switch to another tab
Matcher<TabItem> withText = withText("Text");
List<TabItem> tabItems = controlFinder.findControls(allOf(widgetOfType(TabItem.class), withText));
new SWTBotTabItem(tabItems.get(0)).activate();
// should get different tabs this time
List<Text> textBoxesOnTextTab = controlFinder.findControls(widgetOfType(Text.class));
assertEquals(2, textBoxesOnTextTab.size());
assertNotSameWidget(textBoxesOnButtonTab.get(0), textBoxesOnTextTab.get(0));