Hi all,
I have a controller action that can 2 of 4 things depending on how $_POST is populated. How would I go about building unit tests for that action. I've thought of building a mock object for request and injecting it in the DI, but I was wondering if there is a more generally accepted method.