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