EventFactory { public Event createEndAdapterDelegation() { return new EndAdapterDelegationEvent(); }  Event createBeginOutboundMessage(); Event createBeginOutboundProcessing(); Event createBeginNwhinInvocation(); Event createEndNwhinInvocation(); Event createEndOutboundProcessing(); Event createEndOutboundMessage(); Event createBeginInboundMessage(); Event createBeginInboundProcessing(); Event createBeginAdapterDelegation(); Event createEndAdapterDelegation(); Event createEndInboundProcessing(); Event createEndInboundMessage();  }
@Test public void createEndAdapterDelegation() { Event event = eventFactory.createEndAdapterDelegation(); assertTrue(event instanceof EndAdapterDelegationEvent); }