open static fun webAppContextSetup(context: WebApplicationContext): MockMvcWebClientBuilder
Create a new MockMvcWebClientBuilder
based on the supplied WebApplicationContext.
context
- the WebApplicationContext
to create a MockMvc instance from; never null
Return
the MockMvcWebClientBuilder to customize
open static fun webAppContextSetup(context: WebApplicationContext, configurer: MockMvcConfigurer): MockMvcWebClientBuilder
Create a new MockMvcWebClientBuilder
based on the supplied WebApplicationContext and MockMvcConfigurer.
context
- the WebApplicationContext
to create a MockMvc instance from; never null
configurer
- the MockMvcConfigurer
to apply; never null
Return
the MockMvcWebClientBuilder to customize