// OCHamcrest by Jon Reid, https://qualitycoding.org/ // Copyright 2019 hamcrest.org. See LICENSE.txt #import @protocol HCMatcher; NS_ASSUME_NONNULL_BEGIN /*! * @abstract Wraps argument in a matcher, if necessary. * @return The argument as-is if it is already a matcher, otherwise wrapped in an equalTo matcher. */ FOUNDATION_EXPORT _Nullable id HCWrapInMatcher(_Nullable id matcherOrValue); NS_ASSUME_NONNULL_END