@Test
public void testWriteResponseShouldGenerateResponse() throws IOException {

    //GIVEN in setUp
    //WHEN
    underTest.writeResponse(req, resp);
    //THEN
    verify(stubResponseGenerator).generateResponse(req, resp);
}