@amanda.hinchman-dominguez@carlw So what I was thinking is that there is no clear article(s) about how to mock controllers. We often will use the
by inject
to get a controller. but often we do not want the actual controller, we want one that is not connected to that expensive (either in time or in money) API
a
amanda.hinchman-dominguez
03/25/2019, 7:52 PM
@carlw@ron I'd like to look into a way to do it without injection frameworks if that's at all possible for mocking - I can maybe poke around and look into it but I agree I would also mock the controller - maybe fake objects for a scope though.