Created
April 16, 2014 04:04
-
-
Save miwillhite/10805432 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// The declaration | |
@property (nonatomic, readonly, getter = hasTrackingEnabled) BOOL trackingEnabled; | |
// The spec | |
[[[targetMock expect] andReturnValue:@YES] hasTrackingEnabled]; | |
// The failure | |
// Return value does not match method signature; signature declares 'B' but value is 'c'. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment