@Test public void testDoGetShouldCallDoChangeOfStubConfigurationService() throws ServletException, IOException, ClassNotFoundException { underTest.doGet(request, response); verify(stubConfigurationDropperService).dropSelectedStubConfiguration(DEFAULT_GROUPNAME, request); }
@Override protected void doGet(final HttpServletRequest request, final HttpServletResponse response) throws ServletException, IOException { String groupName = request.getParameter("groupname"); try { stubConfigurationDropperService.dropSelectedStubConfiguration(groupName, request); } catch (ClassNotFoundException e) { throw new IOException(e); } }
StubConfigurationDropperServlet extends HttpServlet { @Override protected void doGet(final HttpServletRequest request, final HttpServletResponse response) throws ServletException, IOException { String groupName = request.getParameter("groupname"); try { stubConfigurationDropperService.dropSelectedStubConfiguration(groupName, request); } catch (ClassNotFoundException e) { throw new IOException(e); } } }
StubConfigurationDropperServlet extends HttpServlet { @Override protected void doGet(final HttpServletRequest request, final HttpServletResponse response) throws ServletException, IOException { String groupName = request.getParameter("groupname"); try { stubConfigurationDropperService.dropSelectedStubConfiguration(groupName, request); } catch (ClassNotFoundException e) { throw new IOException(e); } } @Autowired  StubConfigurationDropperServlet(StubConfigurationDropperService stubConfigurationDropperService); }
StubConfigurationDropperServlet extends HttpServlet { @Override protected void doGet(final HttpServletRequest request, final HttpServletResponse response) throws ServletException, IOException { String groupName = request.getParameter("groupname"); try { stubConfigurationDropperService.dropSelectedStubConfiguration(groupName, request); } catch (ClassNotFoundException e) { throw new IOException(e); } } @Autowired  StubConfigurationDropperServlet(StubConfigurationDropperService stubConfigurationDropperService);  }
StubConfigurationDropperServlet extends HttpServlet { @Override protected void doGet(final HttpServletRequest request, final HttpServletResponse response) throws ServletException, IOException { String groupName = request.getParameter("groupname"); try { stubConfigurationDropperService.dropSelectedStubConfiguration(groupName, request); } catch (ClassNotFoundException e) { throw new IOException(e); } } @Autowired  StubConfigurationDropperServlet(StubConfigurationDropperService stubConfigurationDropperService);   }