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