view.showDialog(EasyMock.eq(warningText), EasyMock.anyObject(ClickHandler.class));
EasyMock.expectLastCall().once();
EasyMock.replay(view, res, toolreg, i18n);
new ToolBarPresenter(view);
bus.fireEvent(new GetFormRepresentationResponseEvent(null, saveType));
EasyMock.verify(view, res, toolreg, i18n);
}