Beispiel #1
0
        public void UsesLocalDefault_WhenNoOverrideOfTheQueryHandlerIsProvided()
        {
            var actual = new DecryptForLocalMachineScope().DecryptForLocalMachineScopeQueryHandler;

            Assert.That(actual, Is.Not.Null);
            Assert.That(actual, Is.InstanceOf <ValidationAwareHandler <DecryptForLocalMachineScopeRequest, string> >());
        }
Beispiel #2
0
        public void SetUp()
        {
            _sut = new DecryptForLocalMachineScope();

            _taskLogger = A.Fake <ITaskLogger>();
            _sut.Logger = _taskLogger;
        }
        public void SetUp()
        {
            _sut = new DecryptForLocalMachineScope();

              _taskLogger = A.Fake<ITaskLogger>();
              _sut.Logger = _taskLogger;
        }
Beispiel #4
0
        public void SetUp()
        {
            _sut = new DecryptForLocalMachineScope();

            _taskLogger = _taskLogger.Fake();
            _sut.Logger = _taskLogger;
            _decryptForLocalMachineScopeQueryHandler     = _decryptForLocalMachineScopeQueryHandler.Fake();
            _sut.DecryptForLocalMachineScopeQueryHandler = _decryptForLocalMachineScopeQueryHandler;
        }
        public void SetUp()
        {
            _sut = new DecryptForLocalMachineScope();

              _taskLogger = _taskLogger.Fake();
              _sut.Logger = _taskLogger;
              _decryptForLocalMachineScopeQueryHandler = _decryptForLocalMachineScopeQueryHandler.Fake();
              _sut.DecryptForLocalMachineScopeQueryHandler = _decryptForLocalMachineScopeQueryHandler;
        }
 public void UsesLocalDefault_WhenNoOverrideOfTheQueryHandlerIsProvided()
 {
     var actual = new DecryptForLocalMachineScope().DecryptForLocalMachineScopeQueryHandler;
       Assert.That(actual, Is.Not.Null);
       Assert.That(actual, Is.InstanceOf<ValidationAwareHandler<DecryptForLocalMachineScopeRequest, string>>());
 }