ValueMatchingStrategies must implement hashCode() so that matchers for
the same type can be detected.