Spring Framework 6.2 introduced MockMvcTester to support writing AssertJ style assertions using AssertJ under the hood.
If you’re using Spring Boot, the spring-boot-starter-test dependency transitively adds the most commonly used testing libraries such as mockito, assertj, json-path, jsonassert, …