riteshrao / ncommon

A framework for implementing commonly used design patterns when using Domain Driven Design
www.codeinsanity.com
218 stars 61 forks source link

V1.1 #19

Open timscott opened 13 years ago

timscott commented 13 years ago

Before this change unit testing methods that raise a domain event requires mocking the service locator call to get and instance of IState and the subsequent call to state.Local.Get<IList<Delegate>>. This is obtrusive and adds no value.

(By the way, I'm not sure why Git wants to replace the whole file. I'm a Git noob, and could not figure out how get it to replace just the affected lines.) :)