public void testShellClosesWhenProjectDeleted() throws CoreException {
SWTBotView rooShell = getView("Roo Shell");
assertTrue(rooShell.isActive());
SWTBotCTabItem shellTab = getRooShellTab(rooShell, "nierooj");
IProject project = getProject("nierooj");
project.delete(true, true, null);
assertFalse(project.isOpen());
bot.waitUntil(SWTBotUtils.widgetIsDisposed(shellTab));
assertFalse(project.exists());