@Test
public void doGetShouldSwitchLocalhostRequestProcessingOff() throws ServletException, IOException {

    //GIVEN request and response
    //WHEN
    underTest.doGet(req, resp);
    //THEN
    verify(localhostRequestProcessorToggle).switchOff();
}