@Test public void testDoPostShouldCallDoChangeOfStubConfigurationService() throws ServletException, IOException, ClassNotFoundException { underTest.doPost(request, response); verify(stubConfigurationDropperService).dropSelectedStubConfiguration(DEFAULT_GROUPNAME, request); }
@Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); }
StubConfigurationDropperServlet extends HttpServlet { @Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); } }
StubConfigurationDropperServlet extends HttpServlet { @Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); } @Autowired  StubConfigurationDropperServlet(StubConfigurationDropperService stubConfigurationDropperService); }
StubConfigurationDropperServlet extends HttpServlet { @Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); } @Autowired  StubConfigurationDropperServlet(StubConfigurationDropperService stubConfigurationDropperService);  }
StubConfigurationDropperServlet extends HttpServlet { @Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); } @Autowired  StubConfigurationDropperServlet(StubConfigurationDropperService stubConfigurationDropperService);   }