示例#1
0
        public void UsesLocalDefault_WhenNoOverrideOfTheQueryHandlerIsProvided()
        {
            var actual = new EncryptForLocalMachineScope().EncryptForLocalMachineScopeQueryHandler;

            Assert.That(actual, Is.Not.Null);
            Assert.That(actual, Is.InstanceOf <ValidationAwareHandler <EncryptForLocalMachineScopeRequest, string> >());
        }
示例#2
0
        public void SetUp()
        {
            _sut = new EncryptForLocalMachineScope();

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

              _taskLogger = _taskLogger.Fake();
              _sut.Logger = _taskLogger;
              _encryptForLocalMachineScopeQueryHandler = _encryptForLocalMachineScopeQueryHandler.Fake();
              _sut.EncryptForLocalMachineScopeQueryHandler = _encryptForLocalMachineScopeQueryHandler;
        }
示例#4
0
        public void SetUp()
        {
            _sut = new EncryptForLocalMachineScope();

            _taskLogger = _taskLogger.Fake();
            _sut.Logger = _taskLogger;
            _encryptForLocalMachineScopeQueryHandler     = _encryptForLocalMachineScopeQueryHandler.Fake();
            _sut.EncryptForLocalMachineScopeQueryHandler = _encryptForLocalMachineScopeQueryHandler;
        }
 public void UsesLocalDefault_WhenNoOverrideOfTheQueryHandlerIsProvided()
 {
     var actual = new EncryptForLocalMachineScope().EncryptForLocalMachineScopeQueryHandler;
       Assert.That(actual, Is.Not.Null);
       Assert.That(actual, Is.InstanceOf<ValidationAwareHandler<EncryptForLocalMachineScopeRequest, string>>());
 }
        public void SetUp()
        {
            _sut = new EncryptForLocalMachineScope();

              _taskLogger = A.Fake<ITaskLogger>();
              _sut.Logger = _taskLogger;
        }