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
In 6.2.x, HttpHeadersAssert inherited AbstractMapAssert assertions. Since 7.0, HttpHeaders is no longer a Map and we should take that as an opportunity to introduce more header-focused assertions (potentially inspired by the Map ones).
simonbasle
changed the title
Revisit HttpHeadersAssert API for a more header-focused experience
Revisit HttpHeadersAssert API with more header-focused assertions
Dec 27, 2024
In
6.2.x
,HttpHeadersAssert
inheritedAbstractMapAssert
assertions. Since7.0
,HttpHeaders
is no longer aMap
and we should take that as an opportunity to introduce more header-focused assertions (potentially inspired by the Map ones).In #33913, we already introduced the following:
containsOnlyHeaders
hasExactlyValues
hasExactlyValuesInAnyOrder
Some assertions that were ported over in #33913 might not be that relevant and should be re-evaluated as part of this effort:
The text was updated successfully, but these errors were encountered: