You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MockMvcTester has been introduced in #21178 and we focused on making sure that the AssertJ support offers a declarative API when asserting on the results.
We are still relying on static imports for building the query itself. While we want to keep a way for users to do that if they so desire, we want also to offer a more declarative way of building the query.
The text was updated successfully, but these errors were encountered:
This commit moves the features of MockHttpServletRequestBuilder in
an abstract class so that another class can offer the same feature
whilst providing AssertJ support. This wasn't possible previously as
the builder's return type would lose the concrete builder types.
This change benefits MockMultipartHttpServletRequestBuilder that can
use the same mechanism to offer additional settings.
This change also makes it so that a builder instance can be created
using only the HttpMethod. Previously, the URI had to be provided as
well and that makes it impossible to specify it using the builder.
See gh-32913
MockMvcTester
has been introduced in #21178 and we focused on making sure that the AssertJ support offers a declarative API when asserting on the results.We are still relying on static imports for building the query itself. While we want to keep a way for users to do that if they so desire, we want also to offer a more declarative way of building the query.
The text was updated successfully, but these errors were encountered: