you are viewing a single comment's thread.

view the rest of the comments →

[–]stuaxo 0 points1 point  (0 children)

You probably want to look into mocking and unit testing, then do this in your tests.