@RequestMapping(value = {"/index", "/"})
    public String index(final Model model) {
        model.addAttribute("domain", ShenyuDomain.getInstance().getHttpPath());
        return "index";
    }
@Test
    public void testIndex() throws Exception {
        this.mockMvc.perform(get("/index"))
                .andExpect(status().isOk())
                .andExpect(model().attribute("domain", ShenyuDomain.getInstance().getHttpPath()))
                .andReturn();
    }