public void SetUp()
 {
     ordersController = new MockOrdersController();
     observablePosition = new MockObservablePosition();
     eventAggregator = new Mock<IEventAggregator>();
     eventAggregator.Setup(x => x.GetEvent<TickerSymbolSelectedEvent>()).Returns(
         new MockTickerSymbolSelectedEvent());
 }
 public void SetUp()
 {
     view = new MockPositionSummaryView();
     ordersController = new MockOrdersController();
     observablePosition = new MockObservablePosition();
     this.eventAggregator = new MockEventAggregator();
     eventAggregator.AddMapping<TickerSymbolSelectedEvent>(new MockTickerSymbolSelectedEvent());
 }
 public void SetUp()
 {
     view = new MockPositionSummaryView();
     accountPositionService = new MockAccountPositionService();
     marketFeedService = new MockMarketFeedService();
     marketHistoryService = new MockMarketHistoryService();
     trendLinePresenter = new MockTrendLinePresenter();
     ordersController = new MockOrdersController();
     this.eventAggregator = new MockEventAggregator();
 }