public void SetUp() { _view = MockRepository.GenerateMock<IChuckView>(); _messageFormatter = MockRepository.GenerateMock<IMessageFormatter>(); _presenter = new ChuckPresenter(_view,_messageFormatter); }
public ChuckPresenter(IChuckView view, IMessageFormatter messageFormatter) { _view = view; _messageFormatter = messageFormatter; }