Package org.springframework.test.web.client

Examples of org.springframework.test.web.client.MockMvcClientHttpRequestFactory



  @Before
  public void setup() {
    MockMvc mockMvc = MockMvcBuilders.webAppContextSetup(this.wac).alwaysExpect(status().isOk()).build();
    this.restTemplate = new RestTemplate(new MockMvcClientHttpRequestFactory(mockMvc));
  }
View Full Code Here

TOP

Related Classes of org.springframework.test.web.client.MockMvcClientHttpRequestFactory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.