Code Smell 82 - Tests Violating Encapsulation
Objects work fine and fulfill business objectives. But we need to test them. Let's break them.
TL;DR: Don't write methods with the only purpose of being used in your tests.
Problems
Encapsulation Violation.
Bad interfaces
Coupling
Solutions
D...
maximilianocontieri.com2 min read
Rodrigo
Without pressure, there isn't action
Great example Maxi! it's exactly how I imagined it