For the latest stable version, please use Spring Framework 7.0.0!

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.