softwareonastring.com
Making sure all IWorker implementers call CanHandle from Handle without a mocking framework
You have an interface that allows you to treat all worker classes – classes that handle a specific type of work – as just one type: IWorker; You want your worker classes to be able to d…