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