I like to use Subclass to Test when i need to refactor first to isolate a proper Seam. It helps break a hard dependency and get the legacy code under test. This pattern is sometimes also called Test Specific Subclass.
23 Feb 2020
•
refactoring-java
Comments