Well said Jon! I use the functional approach to handle mocking methods that handle API requests, in my tests. It may take more effort up front, but the long term rewards are very real.
We’re a place for programmers to stay up-to-date, learn new skills, and share ideas.
We’ll never post without your permission.