"Move seam to delegate" refactoring
09/05/2024
We’d like to document a refactoring that we usually teach to teams we work with: the Move seam to delegate refactoring. Move seam to delegate. Motivation. Sometimes we want to move some code to a delegate but that code contains a protected method we’re overriding in our tests in order...