public void testGetFormDisplay() throws Exception {
FBForm mockForm = EasyMock.createMock(FBForm.class);
EasyMock.expect(view.getFormDisplay()).andReturn(mockForm);
EasyMock.replay(view, drag, mockForm);
new LayoutPresenter(view);
GetFormDisplayEvent event = new GetFormDisplayEvent();
bus.fireEvent(event);
EasyMock.verify(view, drag, mockForm);
assertEquals("mockForm and formDisplay should be the same", mockForm, event.getFormDisplay());
}