SWTBotShell dialog = openCheckoutBranchDialog();
SWTBotTreeItem parentNode = dialog.bot().tree()
.getTreeItem(nodeTexts[0]).expand();
TestUtil.getChildNode(parentNode, nodeTexts[1]).select();
TableCollection tc = dialog.bot().tree().selection();
assertEquals("Wrong selection count", 1, tc.rowCount());
assertTrue("Wrong item selected", tc.get(0, 0).startsWith(nodeTexts[1]));
dialog.bot().button(UIText.CheckoutDialog_OkCheckout).click();
TestUtil.joinJobs(JobFamilies.CHECKOUT);
}