TaxController { @RequestMapping(value = "/reset", method = POST) public ResponseEntity resetSpecialEmployeesService() { specialEmployeesService.reset(); taxLogger.clear(); return new ResponseEntity<>(HttpStatus.OK); }  @RequestMapping(value = "/taxservice", method = POST, produces = MediaType.APPLICATION_JSON_VALUE) @ResponseBody ResponseEntity<JsonNode> submitTaxForm(@RequestBody JsonNode jsonNode); @RequestMapping(value = "/taxservice", method = GET) @ResponseBody String getWebServiceLog(HttpServletResponse response); @RequestMapping(value = "/reset", method = POST) ResponseEntity resetSpecialEmployeesService(); static final String RESPONSE_BODY_SUCCESS; static final String RESPONSE_BODY_FAIL; static final String EMPLOYEE_ID; static final String AMOUNT; }
@Test public void testResetSpecialEmployeesService_isReset() throws Exception { taxController.resetSpecialEmployeesService(); verify(specialEmployeesServiceMock).reset(); }