protected override void RunTest() { ObserveEventsOnThis(); var fooEvent = new FooEvent(); Router.PublishEvent(fooEvent); ReceivedEvent.ShouldBe(fooEvent); }
protected override void RunTest() { ObserveEventsOnThis(); var fooEvent = new FooEvent(); Router.PublishEvent(fooEvent); ReceivedEvent.ShouldBe(fooEvent); ContextWasReceived.ShouldBe(true); ReceivedModel.ShouldBe(Model); }