public InstanceReindexer( IMetadataStore metadataStore, IIndexDataStore indexDataStore, IReindexDatasetValidator dicomDatasetReindexValidator, ILogger <InstanceReindexer> logger) { _metadataStore = EnsureArg.IsNotNull(metadataStore, nameof(metadataStore)); _indexDataStore = EnsureArg.IsNotNull(indexDataStore, nameof(indexDataStore)); _dicomDatasetReindexValidator = EnsureArg.IsNotNull(dicomDatasetReindexValidator, nameof(dicomDatasetReindexValidator)); _logger = EnsureArg.IsNotNull(logger, nameof(logger)); }
public ReindexDatasetValidatorTests() { _minimumValidator = Substitute.For <IElementMinimumValidator>(); _tagErrorsService = Substitute.For <IExtendedQueryTagErrorsService>(); _datasetValidator = new ReindexDatasetValidator(_minimumValidator, _tagErrorsService); }