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

    //GIVEN
    given(resp.getWriter()).willReturn(printWriter);
    given(req.getRequestURI()).willReturn("/public/services/");
    given(req.getMethod()).willReturn("post");
    given(serviceMap.getMapAsResponse()).willReturn("blah");
    //WHEN
    underTest.doGet(req, resp);
    //THEN
    verify(resp).setContentType("application/json");
    verify(resp).setStatus(HttpServletResponse.SC_NOT_FOUND);
    String response = "blah";
    verify(printWriter).write(response);
    verify(printWriter).flush();
    verify(printWriter).close();
}