mocking controller instantiation article