### Question:
UserController { @RequestMapping("name") public String getName(){ return "Adam"; }  @RequestMapping("/") @Cacheable(value = _CacheKey) String doGet(); @RequestMapping("/put") @CachePut(value = _CacheKey) String putCache(); @RequestMapping("/del") @CacheEvict(value = _CacheKey) String delCache(); @RequestMapping("/uid") String testSession(HttpSession session); @RequestMapping("name") String getName();  }### Answer:
@Test public void getName() { String name = restTemplate.getForObject("/name", String.class); System.out.println(name); Assert.assertEquals("Adam", name); }