@Test public void testDoPostShouldCallDoChangeOfStubConfigurationService() throws ServletException, IOException, ClassNotFoundException { underTest.doPost(request, response); verify(stubConfigurationStatusService).changeStatus(true, DEFAULT_GROUPNAME, request); }
@Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); }
StubConfigurationStatusServlet extends HttpServlet { @Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); } }
StubConfigurationStatusServlet extends HttpServlet { @Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); } @Autowired  StubConfigurationStatusServlet(StubConfigurationStatusService stubConfigurationStatusService); }
StubConfigurationStatusServlet extends HttpServlet { @Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); } @Autowired  StubConfigurationStatusServlet(StubConfigurationStatusService stubConfigurationStatusService);  }
StubConfigurationStatusServlet extends HttpServlet { @Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); } @Autowired  StubConfigurationStatusServlet(StubConfigurationStatusService stubConfigurationStatusService);   }