示例#1
0
 public void Setup()
 {
     this._config          = A.Fake <ISystemDataLayerConfig>();
     this._processLogger   = A.Fake <ILogger <SystemProcessRepository> >();
     this._operationLogger = A.Fake <ILogger <ISystemProcessOperationRepository> >();
     this._logger          = A.Fake <ILogger <ISystemProcessOperationDistributeRuleRepository> >();
 }
        public void Setup()
        {
            this._config          = A.Fake <ISystemDataLayerConfig>();
            this._processLogger   = A.Fake <ILogger <SystemProcessRepository> >();
            this._operationLogger = A.Fake <ILogger <ISystemProcessOperationRepository> >();
            this._logger          = A.Fake <ILogger <ISystemProcessOperationRuleRunRepository> >();

            A.CallTo(() => this._config.SurveillanceAuroraConnectionString).Returns(
                "server=dev-temporary.cgedh3fdlw42.eu-west-1.rds.amazonaws.com; port=3306;uid=hackinguser;pwd='WillDelete3101';database=hackingdb1; Allow User Variables=True");
        }
示例#3
0
 public ConnectionStringFactory(ISystemDataLayerConfig config)
 {
     this._config = config ?? throw new ArgumentNullException(nameof(config));
 }
示例#4
0
 public void Setup()
 {
     this._config = A.Fake <ISystemDataLayerConfig>();
     this._logger = A.Fake <ILogger <SystemProcessRepository> >();
 }