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