HelloController { @RequestMapping(method = RequestMethod.GET, path = "/hello") String hello() { return "Hello, World"; }    }
@Test void hello() throws Exception { mvc.perform(MockMvcRequestBuilders.get("/hello")) .andExpect(status().isOk()) .andExpect(content().string("Hello, World")); }