I have a SenTest class I am attempting to write which uses a Category to override a method in a controller class. I want my mock controller class to call a method in the SenTest class to determine how to behave for various tests.
For example:
- Set a var in the testFoo method.
- In testFoo, call my mock controller's overridden method.
- Have it call back up to the SenTest singleton to figure out how to behave for testFoo.
Is this possible, or am I an idiot?