@Test
public void testOnApplicationEventShouldDisableSequenceHandlingWhenConfigPropertyIsOff() {

    //GIVEN
    PropertyDto properties = builder.sequenceHandlingState(SequenceHandlingState.OFF).build();
    given(configurationAccess.getProperties()).willReturn(properties);
    //WHEN
    underTest.onApplicationEvent(null);
    //THEN
    verify(sequenceRequestHandlingProcessor).setEnabled(false);
}