@Test public void testDoPostShouldCallDoChangeOfStubConfigurationService() throws ServletException, IOException, ClassNotFoundException { underTest.doPost(request, response); verify(stubConfigurationOrderService).doChange(1, DEFAULT_GROUPNAME, request); }
@Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); }
StubConfigurationOrderServlet extends HttpServlet { @Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); } }
StubConfigurationOrderServlet extends HttpServlet { @Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); } @Autowired  StubConfigurationOrderServlet(StubConfigurationOrderService stubConfigurationOrderService); }
StubConfigurationOrderServlet extends HttpServlet { @Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); } @Autowired  StubConfigurationOrderServlet(StubConfigurationOrderService stubConfigurationOrderService);  }
StubConfigurationOrderServlet extends HttpServlet { @Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); } @Autowired  StubConfigurationOrderServlet(StubConfigurationOrderService stubConfigurationOrderService);   }