// OCHamcrest by Jon Reid, https://qualitycoding.org/ // Copyright 2019 hamcrest.org. See LICENSE.txt #import #import #define HC_ABSTRACT_METHOD [self subclassResponsibility:_cmd] NS_ASSUME_NONNULL_BEGIN /*! * @abstract Base class for all HCMatcher implementations. * @discussion Simple matchers can just subclass HCBaseMatcher and implement -matches: * and -describeTo:. But if the matching algorithm has several "no match" paths, * consider subclassing HCDiagnosingMatcher instead. */ @interface HCBaseMatcher : NSObject /*! @abstract Raises exception that command (a pseudo-abstract method) is not implemented. */ - (void)subclassResponsibility:(SEL)command; @end NS_ASSUME_NONNULL_END