I have a method of the followng signature;
- (NSInteger) getFirstVisitTimeStamp;
When I use OCMock to mock and return a value, the test fails with the below error.
[[[[YSNYI13NMockingTest mockedYI13N] expect] andReturnValue:@(12345)] getFirstVisitTimeStamp];
Error:
file:///%3Cunknown%3E: test failure:
failed: Return value does not match method signature; signature declares 'q' but value is 'i'.
Can anyone help ?
q
andi
the actual values it lists? – Rentfree