Theclassictestingpyramidemphasizesunittests,fewerintegrationtests,andeven fewer end-to-end tests. Both variants of the domain model patterns are best addressed with the testing pyramid. Aggregates and value objects make perfect units foreffectivelytestingthebusinesslogic.