public void render_is_forwarded_to_inner_view() { _view.Expect(x => x.Render()); ClassUnderTest.Render(); _view.VerifyAllExpectations(); }
public void render_is_forwarded_to_inner_view() { _view.Expect(x => x.Render(MockFor <IFubuRequestContext>())); ClassUnderTest.Render(MockFor <IFubuRequestContext>()); _view.VerifyAllExpectations(); }
protected override void beforeEach() { _viewFactory = MockFor <IViewFactory>(); _view = MockFor <IFubuSparkView>(); _view.Expect(x => x.Render()); }