public void Should_be_able_to_test_raising_a_domain_event() { var @event = new SomethingAwesomeHappened(); IDomainEvent rasisedEvent = null; DomainEvent.RaiseAction = e => rasisedEvent = e; DomainEvent.Raise(@event); rasisedEvent.ShouldBeTheSameAs(@event); DomainEvent.RaiseAction = null; }