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