protected override void Before_each_spec() { _manager = Create<MainWindowManager>(); _mockWindowAdapter = Mock<IWindowAdapter>(); _mockPresenterExisting = Mock<IPresenter>(); _mockPresenterNew = Mock<IPresenter>(); SetupResult .For(_mockPresenterExisting.Key) .Return("Existing"); SetupResult .For(_mockPresenterNew.Key) .Return("New"); }
protected override void Before_each_spec() { _manager = Create<MainWindowManager>(); _mockWindowAdapter = Mock<IWindowAdapter>(); _mockPresenter = Mock<IPresenter>(); SetupResult .For(_mockPresenter.Key) .Return("Test"); }