@Test
public void testIsOnShouldReturnFalseIfLocalhostRequestProcessorIsDisabled() {

    //GIVEN
    given(localhostRequestProcessor.isEnabled()).willReturn(false);
    //WHEN
    boolean result = underTest.isOn();
    //THEN
    assertFalse(result);
}