Test Double Patterns are really powerful tool. It will make our life easier, tests lighter, faster and more readable. Yet, it can also make our tests unreadable and inaccurate which would have an impact on difficulty level of doing refactoring and adding something new.
The problem is the more often we are using them and the better our understanding of their construction is, in the more places we are starting to use them. We're starting to do it automatically. Even thoughtlessly. We are creating assumptions, we are setting environments and we are ending with well covered code and tests that tells us nothing.
That's why it's so important to recognize warning signs, to know the pitfalls which are waiting for us. And the ways how to handle this situations.
And that's what this article is about.#cleancode