Exemplo n.º 1
0
        public DicomCastWorkerTests()
        {
            _cancellationToken = _cancellationTokenSource.Token;

            _dicomCastWorkerConfiguration.PollInterval = TimeSpan.Zero;

            _dicomCastWorker = new DicomCastWorker(
                Options.Create(_dicomCastWorkerConfiguration),
                _changeFeedProcessor,
                NullLogger <DicomCastWorker> .Instance);
        }
Exemplo n.º 2
0
        public DicomCastWorkerTests()
        {
            _cancellationToken = _cancellationTokenSource.Token;

            _dicomCastWorkerConfiguration.PollInterval = TimeSpan.Zero;

            _fhirService = Substitute.For <IFhirService>();

            _dicomCastWorker = new DicomCastWorker(
                Options.Create(_dicomCastWorkerConfiguration),
                _changeFeedProcessor,
                NullLogger <DicomCastWorker> .Instance,
                _hostApplication,
                _fhirService);
        }