@Test public void testGreeting() throws Exception { mockMvc.perform(get(URLHelper.API_VERSION_PATH + "/version")) .andExpect(status().isOk()) .andExpect(jsonPath("$", is("0.5.0"))); }
@RequestMapping(value = "/version", method = RequestMethod.GET) public String greeting() { return "0.5.0"; }
GriffinInfoController { @RequestMapping(value = "/version", method = RequestMethod.GET) public String greeting() { return "0.5.0"; } }
GriffinInfoController { @RequestMapping(value = "/version", method = RequestMethod.GET) public String greeting() { return "0.5.0"; }  }
GriffinInfoController { @RequestMapping(value = "/version", method = RequestMethod.GET) public String greeting() { return "0.5.0"; }  @RequestMapping(value = "/version", method = RequestMethod.GET) String greeting(); }
GriffinInfoController { @RequestMapping(value = "/version", method = RequestMethod.GET) public String greeting() { return "0.5.0"; }  @RequestMapping(value = "/version", method = RequestMethod.GET) String greeting();  }