SWTBotView view = bot.viewByTitle("SWTBot Test View");
SWTBotToolbarDropDownButton button = view.toolbarDropDownButton("This represents a drop down IAction command.");
assertNotNull(button);
button.click();
bot.button("OK").click();
}
@Test
public void toolbarButtonNotFound() throws Exception {