@Test
public final void testOnApplicationEventShouldNotSwitchOffMessageLoggingWhenPropertyIsNull() {

    // GIVEN
    PropertyDto properties = builder.messageLogging(null).build();
    given(configurationAccess.getProperties()).willReturn(properties);
    // WHEN
    underTest.onApplicationEvent(event);
    // THEN
    verify(requestHandler, never()).disableProcessor(jmsRequestLogger);
    verify(responseHandler, never()).disableProcessor(jmsResponseProcessor);
}