While writing unit tests, I want to set up a hook, run a test and return the system to the previous step. Current implementation with
+ (void)hookInstanceMethodForClass:(Class)targetClass
withSelector:(SEL)targetSelector
prototypeMethodSelector:(SEL)prototypeSelector
hookMethodSelector:(SEL)hookSelector;
does not work.
See my implementation attempts in : aa06a2e
While writing unit tests, I want to set up a hook, run a test and return the system to the previous step. Current implementation with
does not work.
See my implementation attempts in : aa06a2e