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; }
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; }