Exemple #1
0
 protected override void Establish_context()
 {
     base.Establish_context();
     _view = MockRepository.GenerateMock <IDisplayBooksReadView>();
     _view.Expect(v => v.Bind());
     _controller = new DisplayBooksReadController(_view);
 }
Exemple #2
0
        protected override void Establish_context()
        {
            base.Establish_context();

            _view       = Substitute.For <IDisplayBooksReadView>();
            _controller = new DisplayBooksReadController(_view);
        }