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
Mockito4.argThat still needs to be wrapped into Mockito's argThat because it implements ArgumentMatcher. The Hamcrest argThat returns a T and can be used directly in a Mockito expression. We have two options:
Rename our argThat to hasQualityThat so you use it like
argThat(hasQualityThat(iterates(...)))
Or implement argThat like the Hamcrest equivalent.
The text was updated successfully, but these errors were encountered:
Mockito4.argThat still needs to be wrapped into Mockito's
argThat
because it implementsArgumentMatcher
. The HamcrestargThat
returns aT
and can be used directly in a Mockito expression. We have two options:Rename our
argThat
tohasQualityThat
so you use it likeOr implement
argThat
like the Hamcrest equivalent.The text was updated successfully, but these errors were encountered: