// OCHamcrest by Jon Reid, https://qualitycoding.org/ // Copyright 2019 hamcrest.org. See LICENSE.txt #import NS_ASSUME_NONNULL_BEGIN /*! * @abstract A description of an HCMatcher. * @discussion An HCMatcher will describe itself to a description which can later be used for reporting. */ @protocol HCDescription /*! * @abstract Appends some plain text to the description. * @return self, for chaining. */ - (id )appendText:(NSString *)text; /*! * @abstract Appends description of specified value to description. * @discussion If the value implements the HCSelfDescribing protocol, then it will be used. * @return self, for chaining. */ - (id )appendDescriptionOf:(nullable id)value; /*! * @abstract Appends a list of objects to the description. * @return self, for chaining. */ - (id )appendList:(NSArray *)values start:(NSString *)start separator:(NSString *)separator end:(NSString *)end; @end NS_ASSUME_NONNULL_END