This version is still in development and is not considered stable yet. For the latest stable version, please use Spring Framework 6.2.0!spring-doc.cn

Hamcrest Integration

Plain MockMvc provides an API to build the request using a builder-style approach that can be initiated with static imports. Hamcrest is used to define expectations and it provides many out-of-the-box options for common needs.spring-doc.cn