Source code for the article "Domain-Driven Design: Striving for clarity in tests with factories"
You will find in the folder src
:
domain
: Contains the domain concepts (and related tests) related toHospital
, including an in-memory implementation of aHospitalRepository
application
: Contains the use-casereplaceSomeoneInHospital
and its related test