@Test
public void hello() {

    mockServer.expect(MockRestRequestMatchers.requestTo("/rest/hello"))
            .andRespond(MockRestResponseCreators.withSuccess(
                    new ClassPathResource("/test.json", getClass()), MediaType.APPLICATION_JSON));
}