public ImagingStudyPipelineStepTests() { _imagingStudyDeleteHandler = Substitute.For <IImagingStudyDeleteHandler>(); _imagingStudyUpsertHandler = Substitute.For <IImagingStudyUpsertHandler>(); _imagingStudyPipeline = new ImagingStudyPipelineStep(_imagingStudyUpsertHandler, _imagingStudyDeleteHandler); }
public ImagingStudyPipelineStep( IImagingStudyUpsertHandler imagingStudyUpsertHandler, IImagingStudyDeleteHandler imagingStudyDeleteHandler) { EnsureArg.IsNotNull(imagingStudyUpsertHandler, nameof(imagingStudyUpsertHandler)); EnsureArg.IsNotNull(imagingStudyDeleteHandler, nameof(imagingStudyDeleteHandler)); _imagingStudyUpsertHandler = imagingStudyUpsertHandler; _imagingStudyDeleteHandler = imagingStudyDeleteHandler; }