public void Init()
 {
     MockHelper.ConfigureContainer();
     stockPropertiesService = MockRepository.GenerateMock <IStockPropertiesService>();
     eventAggregator        = ServiceLocator.Current.GetInstance <IEventAggregator>();
     ServiceLocator.Current.Stub(x => x.GetInstance <IStockPropertiesService>()).Return(stockPropertiesService);
     ServiceLocator.Current.Stub(x => x.GetInstance <IStockProprtiesViewModel>()).Return(new StockProprtiesViewModel(eventAggregator, stockPropertiesService));
 }