public void Setup() { this.rawData = new RawTradingDataContext(); this.singleton = new StServerMockSingleton(); this.stServer = (StServerClassMock)this.singleton.Instance; this.manager = new SmartComOrderManager(this.singleton, this.rawData, new NullLogger()); }
public void Setup() { this.tradingData = new TradingDataContext(); this.orderBook = new OrderBookContext(); this.provider = new MarketDataProvider(this.Handlers, this.tradingData, this.orderBook, new NullLogger()); this.stServer = (StServerClassMock)this.StServerMockSingleton.Instance; this.Binder.Bind(); }
public void Setup() { this.rawTradingDataContext = new RawTradingDataContext(); this.stServerSingleton = new StServerMockSingleton(); this.handlers = new SmartComHandlersDatabase(); this.binder = new SmartComBinder(this.stServerSingleton.Instance, this.handlers, new NullLogger()); this.provider = new RawTradingDataProvider(this.handlers, this.rawTradingDataContext, new NullLogger()); this.binder.Bind(); this.stServer = (StServerClassMock)this.stServerSingleton.Instance; }
public void Setup() { this.singleton = new StServerMockSingleton(); this.stServer = (StServerClassMock)this.singleton.Instance; }