@Test public void testDoPostShouldWriteUrlAndTextToResponse() throws ServletException, IOException { underTest.doPost(request, response); verify(writer).write("{\"readmeUrl\":\"" + readme.getUrl() + "\", \"readmeText\":\"" + readme.getText() + "\"}"); }
@Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); }
WilmaReadmeServlet extends HttpServlet { @Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); } }
WilmaReadmeServlet extends HttpServlet { @Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); } @Autowired  WilmaReadmeServlet(WebAppConfigurationAccess webAppConfigurationAccess); }
WilmaReadmeServlet extends HttpServlet { @Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); } @Autowired  WilmaReadmeServlet(WebAppConfigurationAccess webAppConfigurationAccess);  }
WilmaReadmeServlet extends HttpServlet { @Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); } @Autowired  WilmaReadmeServlet(WebAppConfigurationAccess webAppConfigurationAccess);   }