Let's say that I have a method like this
[SomeObject someMethod:(id)object someRect:(CGRect)rect];
When doing unit test, I want to very that this function is called with a specific object and any rect, but this code doesn't work:
[verifyCount(mockObject, MKTTimes(1)) someMethod:HC_equalTo(message) someRect:HC_anything()];
Compiler would say that HC_anything is not a CGRect.
Is there any way to solve this?