Sometimes you have to write a unit test that has to set a private property or call a private method of an object. When applying DDD, property setters can be made private. Off course you can set them public in some cases, but most of the time there will be a good reason for using […]