collaborators of the system under test so that the test is independent of the implementation of the collaborators. Mock Object Behavior Verification SUT Setup Exercise Verify Tear Down Behavior ! (Indirect! Outputs) DOC
collaborators of the system under test so that the test is independent of the implementation of the collaborators. Mock Object Behavior Verification SUT Setup Exercise Verify Tear Down Behavior ! (Indirect! Outputs) Fake
collaborators of the system under test so that the test is independent of the implementation of the collaborators. Mock Object SUT Behavior Verification Setup Exercise Verify Tear Down Behavior ! (Indirect! Outputs) Fake Verify
helper methods should do just one thing (SOLID principles)! - write tests for each of the helper methods! - test viewDidLoad calls helper methods (partial mock)
for a specific instance. - (id<AspectToken>)aspect_hookSelector:(SEL)selector withOptions:(AspectOptions)options usingBlock:(id)block error:(NSError **)error; /// Called after the original implementation (default) AspectPositionAfter, /// Will replace the original implementation. AspectPositionInstead, /// Called before the original implementation. AspectPositionBefore, Aspects