@Test public void testIsOnShouldReturnFalseWhenSequenceHandlingIsDisabled() { given(sequenceRequestHandlingProcessor.isEnabled()).willReturn(false); boolean result = underTest.isOn(); assertFalse(result); }
public boolean isOn() { return sequenceRequestHandlingProcessor.isEnabled(); }
SequenceHandlingToggle implements ApplicationListener<ContextRefreshedEvent> { public boolean isOn() { return sequenceRequestHandlingProcessor.isEnabled(); } }
SequenceHandlingToggle implements ApplicationListener<ContextRefreshedEvent> { public boolean isOn() { return sequenceRequestHandlingProcessor.isEnabled(); }  }
SequenceHandlingToggle implements ApplicationListener<ContextRefreshedEvent> { public boolean isOn() { return sequenceRequestHandlingProcessor.isEnabled(); }  void switchOn(); void switchOff(); boolean isOn(); @Override void onApplicationEvent(final ContextRefreshedEvent event); }
SequenceHandlingToggle implements ApplicationListener<ContextRefreshedEvent> { public boolean isOn() { return sequenceRequestHandlingProcessor.isEnabled(); }  void switchOn(); void switchOff(); boolean isOn(); @Override void onApplicationEvent(final ContextRefreshedEvent event);  }