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