--- tags: - dev - testing --- [[Mocks aren't stubs]] [[Verified fake]] Oftentimes wrapping a third-party object in a lightweight facade will improve the code but also increases test-ability dramatically. If the third-party library already exposes an idiomatic interface, it is probably not worth wrapping it into a similar one just so it belongs to you. (Cough openstacksdk). --- https://hynek.me/articles/what-to-mock-in-5-mins/