### Question:
CacheController extends BasicController { @RequestMapping(value = "/{type}/{name}/{event}", method = { RequestMethod.PUT }) @ResponseBody public void wipeCache(@PathVariable String type, @PathVariable String event, @PathVariable String name) throws IOException { Broadcaster.TYPE wipeType = Broadcaster.TYPE.getType(type); EVENT wipeEvent = Broadcaster.EVENT.getEvent(event); logger.info("wipe cache type: " + wipeType + " event:" + wipeEvent + " name:" + name); switch (wipeEvent) { case CREATE: case UPDATE: cacheService.rebuildCache(wipeType, name); break; case DROP: cacheService.removeCache(wipeType, name); break; default: throw new RuntimeException("invalid type:" + wipeEvent); } }  @RequestMapping(value = "/{type}/{name}/{event}", method = { RequestMethod.PUT }) @ResponseBody void wipeCache(@PathVariable String type, @PathVariable String event, @PathVariable String name); void setCacheService(CacheService cacheService);  }### Answer:
@Test public void testBasics() throws IOException { cacheController.wipeCache("cube_desc", "drop", "test_kylin_cube_with_slr_desc"); }