public PackageValidatorTests() { _validationResults = new List <ValidationResult>(); _aggregateValidator = new DummyAggregateValidator(_validationResults); _aggregateValidators = new[] { _aggregateValidator }; _sourceRepositories = new ValidationSourceRepositories( Mock.Of <SourceRepository>(), Mock.Of <SourceRepository>()); }
public PackageValidatorTests() { _validationResults = new List <ValidationResult>(); _aggregateValidator = new DummyAggregateValidator(_validationResults); _aggregateValidators = new[] { _aggregateValidator }; _feedToSource = new Dictionary <FeedType, SourceRepository>() { { FeedType.HttpV2, Mock.Of <SourceRepository>() }, { FeedType.HttpV3, Mock.Of <SourceRepository>() } }; }