Since an org.junit.platform.commons.support.Resource can potentially be used in a Map, Set, or other Collection, we should ensure that implementers are aware of the fact that they must provide reliable equals() and hashCode() implementations in any custom Resource.
Since an
org.junit.platform.commons.support.Resourcecan potentially be used in aMap,Set, or otherCollection, we should ensure that implementers are aware of the fact that they must provide reliableequals()andhashCode()implementations in any customResource.