EventFactory { public Event createEndNwhinInvocation() { return new EndNwhinInvocationEvent(); }  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 createEndNwhinInvocation() { Event event = eventFactory.createEndNwhinInvocation(); assertTrue(event instanceof EndNwhinInvocationEvent); }