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
Sometimes the hashCode() of a class implementing an interface is important and should be tested (for example for collections, Map.Entry). In such cases it would be nice to have Subject.hasHashCode() instead of having to write assertThat(obj.hashCode()).isEqualTo(h) because the former could provide a better failure message including the value of obj.toString().
The text was updated successfully, but these errors were encountered:
Sometimes the
hashCode()
of a class implementing an interface is important and should be tested (for example for collections, Map.Entry). In such cases it would be nice to haveSubject.hasHashCode()
instead of having to writeassertThat(obj.hashCode()).isEqualTo(h)
because the former could provide a better failure message including the value ofobj.toString()
.The text was updated successfully, but these errors were encountered: