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...
Jun 25, 20212 min read728

