Serious test-related question -- there is a bunch of code that relies on talking to an API that we do not control. How would YOU go about writing tests for code that relies on this API internally?
@grmpyprogrammer API itself (adapter) is tested on itegration level (with their mocks/fakes if provided).
Oh, and for libraries without side effects I usually don't bother and test them together until decomposition when test cases multiply on branching logic.
