关于[Domain-Driven Refactoring: Defactoring and Pushing Behavior Down]的摘要:
In the last post, we looked at our procedural handler and pulled behavior out that called to external services into its own domain service. This let our handler become more unit testable by creating a test seam, and we could now alter the behavior of the abstraction through mocks/stubs etc.
原文地址: https://jimmybogard.com/domain-driven-refactoring-defactoring-and-pushing-behavior-down/