Improved error output for failed expectations

This commit is contained in:
Blake Watters
2012-02-23 15:24:32 -05:00
parent b44c4974ee
commit 62c9dc4b9c
5 changed files with 92 additions and 67 deletions

View File

@@ -77,4 +77,11 @@
*/
@property (nonatomic, copy, readonly) BOOL (^evaluationBlock)(RKObjectAttributeMapping *mapping, id value);
/**
Returns a string summary of the expected keyPath mapping within the expectation
@return A string describing the expected sourceKeyPath to destinationKeyPath mapping.
*/
- (NSString *)mappingDescription;
@end