open static fun webAppContextSetup(context: WebApplicationContext): MockMvcHtmlUnitDriverBuilder
Create a new MockMvcHtmlUnitDriverBuilder based on the supplied WebApplicationContext.
context - the WebApplicationContext to create a MockMvc instance from (never null)
Return
the MockMvcHtmlUnitDriverBuilder to customize
open static fun webAppContextSetup(context: WebApplicationContext, configurer: MockMvcConfigurer): MockMvcHtmlUnitDriverBuilder
Create a new MockMvcHtmlUnitDriverBuilder 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 MockMvcHtmlUnitDriverBuilder to customize