public void Setup()
        {
            _backupValidator1 = A.Fake<BackupValidator>();
            _backupValidator2 = A.Fake<BackupValidator>();
            _backupValidator3 = A.Fake<BackupValidator>();

            _multipleBackupValidators = new [] { _backupValidator1, _backupValidator2, _backupValidator3 };
        }
 public ValidatedBackupProcess(BackupRequest backupRequest, BackupValidator backupValidator)
 {
     _backupRequest = backupRequest;
     _backupValidator = backupValidator;
 }
 public void Setup()
 {
     _backupRequest = A.Fake<BackupRequest>();
     _backupValidator = A.Fake<BackupValidator>();
 }
 public void SetValidatorToReturnValid(BackupValidator backupValidator)
 {
     A.CallTo(() => backupValidator.GetBackupValidation()).Returns(BackupValidationRecord.Valid());
 }
 public void SetValidatorToReturnInvalid(
     BackupValidator backupValidator, BackupValidationRecord invalidRecord)
 {
     A.CallTo(() => backupValidator.GetBackupValidation()).Returns(invalidRecord);
 }