@Test public void home_should_return_homeview() throws Exception { assertThat( new HomeController().home(), equalTo("home") ); }
@RequestMapping("/home") public String home() { return "home"; }
HomeController { @RequestMapping("/home") public String home() { return "home"; } }
HomeController { @RequestMapping("/home") public String home() { return "home"; }  }
HomeController { @RequestMapping("/home") public String home() { return "home"; }  @RequestMapping("/home") String home(); @RequestMapping("/edit") String edit(); }
HomeController { @RequestMapping("/home") public String home() { return "home"; }  @RequestMapping("/home") String home(); @RequestMapping("/edit") String edit();  }