@Test public void testSwitchOffShouldDropTheSequences() { underTest.switchOff(); verify(sequenceManager).dropAllSequences(); }
public void switchOff() { sequenceManager.dropAllSequences(); sequenceRequestHandlingProcessor.setEnabled(false); }
SequenceHandlingToggle implements ApplicationListener<ContextRefreshedEvent> { public void switchOff() { sequenceManager.dropAllSequences(); sequenceRequestHandlingProcessor.setEnabled(false); } }
SequenceHandlingToggle implements ApplicationListener<ContextRefreshedEvent> { public void switchOff() { sequenceManager.dropAllSequences(); sequenceRequestHandlingProcessor.setEnabled(false); }  }
SequenceHandlingToggle implements ApplicationListener<ContextRefreshedEvent> { public void switchOff() { sequenceManager.dropAllSequences(); sequenceRequestHandlingProcessor.setEnabled(false); }  void switchOn(); void switchOff(); boolean isOn(); @Override void onApplicationEvent(final ContextRefreshedEvent event); }
SequenceHandlingToggle implements ApplicationListener<ContextRefreshedEvent> { public void switchOff() { sequenceManager.dropAllSequences(); sequenceRequestHandlingProcessor.setEnabled(false); }  void switchOn(); void switchOff(); boolean isOn(); @Override void onApplicationEvent(final ContextRefreshedEvent event);  }