public void OneTimeSetUp() { RegisterDependencies(); _overnightSwapService = Container.Resolve <IOvernightSwapService>(); _overnightSwapCache = Container.Resolve <IOvernightSwapCache>(); _quoteCacheService = Container.Resolve <IQuoteCacheService>(); _ordersCache = Container.Resolve <OrdersCache>(); _accountAssetsRepository = Container.Resolve <IAccountAssetPairsRepository>(); _fakeMarginTradingAccountsRepository = Container.Resolve <IMarginTradingAccountsRepository>(); _overnightSwapStateRepository = Container.Resolve <IOvernightSwapStateRepository>(); _overnightSwapHistoryRepository = Container.Resolve <IOvernightSwapHistoryRepository>(); _rabbitMqNotifyService = Container.Resolve <IRabbitMqNotifyService>(); _accountAssetsManager = Container.Resolve <AccountAssetsManager>(); _bestPriceConsumer = Container.Resolve <IEventChannel <BestPriceChangeEventArgs> >(); }