@Test
public void testAddBranch() throws Exception {
Repository repo = lookupRepository(repoFile);
assertNull(repo.resolve(Constants.R_HEADS + "NewBranch"));
SWTBotTable table = getHistoryViewTable(PROJ1);
SWTBotTableItem item = table.getTableItem(0);
item.select();
ContextMenuHelper.clickContextMenu(table,
UIText.GitHistoryPage_CreateBranchMenuLabel);
SWTBotShell dialog = bot
.shell(UIText.CreateBranchWizard_NewBranchTitle);
dialog.bot().textWithId("BranchName").setText("NewBranch");