Files
spring-framework/framework-docs/modules/ROOT/pages/testing/mockmvc/hamcrest.adoc
Stéphane Nicoll d43dba63a1 Document AssertJ support for MockMvc
This commit restructures the section on MockMvc so that the anchors
are easier to read. The standard integration has moved to a
Hamcrest Integration section  at the same level as HtmlUnit Integration,
and a new AssertJ Integration section has been created.

Closes gh-32454
2024-06-21 12:51:35 +02:00

7 lines
300 B
Plaintext

[[mockmvc-server]]
= Hamcrest Integration
:page-section-summary-toc: 1
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.