});
final List<EventMessage> ackedMessages = listenForAcknowledgedMessages();
final FirstHandler handler1 = spy(new FirstHandler());
final SecondHandler handler2 = spy(new SecondHandler());
testSubject.subscribe(new AnnotationEventListenerAdapter(handler1));
testSubject.subscribe(new AnnotationEventListenerAdapter(handler2));
final EventMessage<Object> eventMessage = GenericEventMessage.asEventMessage("test");
testSubject.publish(eventMessage);
InOrder inOrder = Mockito.inOrder(handler1, handler2);