public void YouCanTellEventsOnAStubToFire() { // Create a stub. ISampleClass stub = CreateStub(); bool eventWasHandled = false; // Attach an event handler. stub.SomeEvent += (args, e) => eventWasHandled = true; // Raise the event. stub.Raise(s => s.SomeEvent += null, this, EventArgs.Empty); // Check that event was handled. eventWasHandled.Should(Be.True); }