protected override void Establish_context() { base.Establish_context(); _view = MockRepository.GenerateMock <IDisplayBooksReadView>(); _view.Expect(v => v.Bind()); _controller = new DisplayBooksReadController(_view); }
protected override void Establish_context() { base.Establish_context(); _view = Substitute.For <IDisplayBooksReadView>(); _controller = new DisplayBooksReadController(_view); }