modules/spring-mock-mvc/src/main/java/io/restassured/module/mockmvc/specification/MockMvcRequestSpecBuilder.java
public MockMvcRequestSpecBuilder setWebAppContextSetup(WebApplicationContext context, MockMvcConfigurer... mockMvcConfigurers) {
        spec.webAppContextSetup(context, mockMvcConfigurers);
        return this;
    }
public MockMvcRequestSpecBuilder setWebAppContextSetup(WebApplicationContext context, MockMvcConfigurer... mockMvcConfigurers) {
        spec.webAppContextSetup(context, mockMvcConfigurers);
        return this;
    }
public MockMvcRequestSpecBuilder setWebAppContextSetup ( WebApplicationContext context , MockMvcConfigurer ... mockMvcConfigurers ) { spec . webAppContextSetup ( context , mockMvcConfigurers ) ; return this ; }
Initialize with a {@link WebApplicationContext} that will be used to create the {@link MockMvc} instance.
<p/>
Note that this will override the any {@link MockMvc} instances configured by other setters.

@param context            The WebApplicationContext to use
@param mockMvcConfigurers {@link MockMvcConfigurer}'s to be applied when creating a {@link MockMvc} instance of this WebApplicationContext (optional)
@return MockMvcRequestSpecBuilder
@see MockMvcRequestSpecification#webAppContextSetup(WebApplicationContext, MockMvcConfigurer...)
Initialize with a { @link WebApplicationContext } that will be used to create the { @link MockMvc } instance . <p / > Note that this will override the any { @link MockMvc } instances configured by other setters .