Due to some breaking changes in the MockMvc APIs, using spring-restdocs-mockmvc with Spring Framework 6.2 can fail with either a NoSuchMethodError or a VerifyError. We should be able to tolerate these breaking changes by introducing a little bit of reflection.