@SuppressWarnings({"unchecked"})
public void testFilterRefusesEventMessage() {
when(mockFilter.accept(isA(Class.class))).thenReturn(false);
testSubject = new EventPublishingMessageChannelAdapter(mockEventBus, mockFilter);
testSubject.handleMessage(new GenericMessage<Object>(new StubDomainEvent()));
verifyZeroInteractions(mockEventBus);
}