Deprecation for private methods with the `have_predicate` matcher

Deprecation for private methods with the `have_predicate` matcher.
See #531