Пример #1
0
 public void Setup()
 {
     _configuration       = TestHelpers.Config();
     _logger              = A.Fake <ILogger <ReddeerMarketRepository> >();
     _opCtx               = A.Fake <ISystemProcessOperationContext>();
     _cfiInstrumentMapper = new CfiInstrumentTypeMapper();
 }
Пример #2
0
 public void Setup()
 {
     this._configuration           = TestHelpers.Config();
     this._logger                  = A.Fake <ILogger <OrdersRepository> >();
     this._opCtx                   = A.Fake <ISystemProcessOperationContext>();
     this._marketRepository        = A.Fake <IReddeerMarketRepository>();
     this._orderBrokerRepository   = A.Fake <IOrderBrokerRepository>();
     this._connectionStringFactory = A.Fake <IConnectionStringFactory>();
 }
 public void Setup()
 {
     this._configuration           = TestHelpers.Config();
     this._connectionStringFactory = A.Fake <IConnectionStringFactory>();
     this._logger = new NullLogger <RuleRunDataRequestRepository>();
 }
 public void Setup()
 {
     this._configuration     = TestHelpers.Config();
     this._connectionFactory = A.Fake <IConnectionStringFactory>();
     this._logger            = A.Fake <ILogger <OrderAllocationRepository> >();
 }
Пример #5
0
 public ProductsData(LogService logService,IDataLayerConfiguration configuration)
 {
     _logService = logService;
     _connection = new SqlCeConnection(configuration.ConnectionString);
 }
 public void Setup()
 {
     this._configuration = TestHelpers.Config();
     this._logger        = new NullLogger <TaskSchedulerRepository>();
 }
Пример #7
0
 public void Setup()
 {
     this._configuration     = TestHelpers.Config();
     this._connectionFactory = new ConnectionStringFactory(this._configuration);
     this._logger            = new NullLogger <FileUploadOrdersRepository>();
 }
Пример #8
0
 public void Setup()
 {
     this._configuration = TestHelpers.Config();
     this._logger        = new NullLogger <RuleBreachOrdersRepository>();
 }
Пример #9
0
 public void Setup()
 {
     this._configuration           = TestHelpers.Config();
     this._connectionStringFactory = A.Fake <IConnectionStringFactory>();
     this._logger = A.Fake <ILogger <RuleAnalyticsUniverseRepository> >();
 }
 public void Setup()
 {
     this._configuration = TestHelpers.Config();
     this._logger        = A.Fake <ILogger <ReddeerMarketTimeBarRepository> >();
 }
 public void TuningRepositoryTests_Setup()
 {
     this._configuration = TestHelpers.Config();
     this._logger        = A.Fake <ILogger <TuningRepository> >();
 }
 public void Setup()
 {
     this._configuration = TestHelpers.Config();
     this._logger = new NullLogger<JudgementRepository>();
 }
 public ConnectionStringFactory(IDataLayerConfiguration config)
 {
     this._config = config ?? throw new ArgumentNullException(nameof(config));
 }