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.) :)
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.) :)