@Test public final void testIsResponseLoggingOnReturnsFalseIfHandlerDoesntContainProcessor() { given(responseHandler.containsProcessor(jmsResponseProcessor)).willReturn(false); boolean actual = underTest.isResponseLoggingOn(); verify(responseHandler).isProcessorEnabled(jmsResponseProcessor); assertFalse(actual); }
public boolean isResponseLoggingOn() { return responseProcessor.isProcessorEnabled(jmsResponseProcessor); }
MessageLoggingToggle implements ApplicationListener<ContextRefreshedEvent> { public boolean isResponseLoggingOn() { return responseProcessor.isProcessorEnabled(jmsResponseProcessor); } }
MessageLoggingToggle implements ApplicationListener<ContextRefreshedEvent> { public boolean isResponseLoggingOn() { return responseProcessor.isProcessorEnabled(jmsResponseProcessor); }  }
MessageLoggingToggle implements ApplicationListener<ContextRefreshedEvent> { public boolean isResponseLoggingOn() { return responseProcessor.isProcessorEnabled(jmsResponseProcessor); }  @Override void onApplicationEvent(final ContextRefreshedEvent event); void switchOffMessageLogging(); void switchOnMessageLogging(); boolean isRequestLoggingOn(); boolean isResponseLoggingOn(); }
MessageLoggingToggle implements ApplicationListener<ContextRefreshedEvent> { public boolean isResponseLoggingOn() { return responseProcessor.isProcessorEnabled(jmsResponseProcessor); }  @Override void onApplicationEvent(final ContextRefreshedEvent event); void switchOffMessageLogging(); void switchOnMessageLogging(); boolean isRequestLoggingOn(); boolean isResponseLoggingOn();  }