spring-framework / org.springframework.test.web.servlet.htmlunit / MockMvcWebConnectionBuilderSupport / alwaysUseMockMvc

alwaysUseMockMvc

open fun alwaysUseMockMvc(): T

Specify that MockMvc should always be used regardless of what the request looks like.

Return
this builder for further customization