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
Hamcrest's typeCompatibleWith is equivalent to a reverse isAssignableFrom check, and AssertJ appears to have no equivalent at present (currently v3.22.0).
Really, it seems like AssertJ wants an isAssignableTo / isNotAssignableTo pair.
This was seemingly requested but they ended up implementing only hasSuperclass which only checks the immediate superclass. :(
The text was updated successfully, but these errors were encountered:
Currently, these:
Are replaced by these:
But both of these are wrong.
Hamcrest's
typeCompatibleWith
is equivalent to a reverseisAssignableFrom
check, and AssertJ appears to have no equivalent at present (currently v3.22.0).Really, it seems like AssertJ wants an
isAssignableTo
/isNotAssignableTo
pair.This was seemingly requested but they ended up implementing only
hasSuperclass
which only checks the immediate superclass. :(The text was updated successfully, but these errors were encountered: