public void SetUp()
        {
            _view = MockRepository.GenerateMock<IChuckView>();
            _messageFormatter = MockRepository.GenerateMock<IMessageFormatter>();

            _presenter = new ChuckPresenter(_view,_messageFormatter);
        }
예제 #2
0
 public ChuckPresenter(IChuckView view, IMessageFormatter messageFormatter)
 {
     _view = view;
     _messageFormatter = messageFormatter;
 }