AccountingDataController { @RequestMapping("deleteCacheDir.ftl") public final ModelAndView deleteCacheDir() { ModelAndView mav = new ModelAndView("deleteCacheDir"); mav.addObject("result", accountingService.deleteCacheDir()); return mav; } @Autowired  AccountingDataController(AccountingService accountingService); @RequestMapping("renderAccountingData.ftl") final ModelAndView showAccountingDataFor(@RequestParam(value = FROM_DATE) String paramFromDate,
            @RequestParam(value = TO_DATE) String paramToDate); @RequestMapping("confirmExportsDelete.ftl") final ModelAndView confirmExportsDelete(); @RequestMapping("deleteCacheDir.ftl") final ModelAndView deleteCacheDir(); @RequestMapping("generateExportsList.ftl") final ModelAndView generateList(@RequestParam(value = LIST_START_DAY) Integer listStartDay, @RequestParam(value = "type") String type); @RequestMapping("renderAccountingDataCacheInfo.ftl") final ModelAndView listAllExports();  }
@Test public void testDeleteCacheDir() { accountingDataController.deleteCacheDir(); }