public void UsingEventRaiserFromExtensionMethod() { IWithEvents eventHolder = MockRepository.Mock <IWithEvents>(); eventHolder.StubEvent(x => x.Blah += null); bool called = false; eventHolder.Blah += delegate { called = true; }; eventHolder.Raise(x => x.Blah += null, EventArgs.Empty); Assert.True(called); eventHolder.VerifyAllExpectations(); }