### Question:
MessageLoggingOffServlet extends HttpServlet { @Override protected void doPost(final HttpServletRequest req, final HttpServletResponse resp) throws ServletException, IOException { doGet(req, resp); } @Autowired  MessageLoggingOffServlet(UrlAccessLogMessageAssembler urlAccessLogMessageAssembler, MessageLoggingToggle messageLoggingToggle);   }### Answer:
@Test public final void testDoPostRemovesBothProcessors() throws ServletException, IOException { underTest.doPost(request, response); verify(messageLoggingToggle).switchOffMessageLogging(); }