private void checkoutAndVerify(String[] nodeTexts)
throws IOException, Exception {
SWTBotShell dialog = openCheckoutBranchDialog();
TableCollection tc = dialog.bot().tree().selection();
assertEquals("Wrong selection count", 0, tc.rowCount());
SWTBotTreeItem parentNode = dialog.bot().tree()
.getTreeItem(nodeTexts[0]).expand();
TestUtil.getChildNode(parentNode, nodeTexts[1]).select();
tc = dialog.bot().tree().selection();