@SuppressWarnings("unchecked")
@Test
public void store_result_when_aborted_is_failure()
{
Object result = new Object();
ComponentEventCallback handler = mockComponentEventHandler();
Logger logger = mockLogger();
ComponentPageElementResources resources = mockResources();
ComponentModel model = mockComponentModel();
train_isDebugEnabled(logger, true);
EasyMock.expectLastCall().atLeastOnce();
logger.debug(eq(TapestryMarkers.EVENT_HANDLER_METHOD), isA(String.class));
EasyMock.expectLastCall().atLeastOnce();
expect(handler.handleResult(result)).andReturn(true);
replay();
ComponentEvent event = new ComponentEventImpl("eventType", "someId", null, handler, resources, false, model, logger);