Cast mock arguments in OCMVerify* macros
Cast mock arguments in OCMVerify* macros

In cases where people are doing things like

NSBundle *foo = OCClassMock([NSBundle class])

or

id<MyProtocol> bar = OCClassMock([MyClass class])

calling OCMVerifyAll or OCMVerifyAllWithDelay requires a cast to (OCMockObject *) so that the verify methods can be found. This makes it so callers don't have to constantly do OCMVerifyAll((id)bar) or something similar.
erikdoe/ocmock,firebase/ocmock,erikdoe/ocmock,erikdoe/ocmock,Lightricks/ocmock,Lightricks/ocmock,Lightricks/ocmock,Lightricks/ocmock,erikdoe/ocmock