Add Kotlin DSL support for MockMVC andExpectAll (#29727)
As the DSL internally calls `ResultActions.andExpect`, this is done with
a trick where a synthetic `ResultActions` is provided at top level which
stores each `ResultMatcher` in a mutable list.
Once the DSL usage is done, the top level DSL `andExpectAll` turns that
list into a `vararg` passed down to the actual `actions.andExpectAll`.
Closes gh-27317
@ -145,4 +145,12 @@ class MockMvcResultMatchersDsl internal constructor (private val actions: Result
@@ -145,4 +145,12 @@ class MockMvcResultMatchersDsl internal constructor (private val actions: Result