Beispiel #1
0
        public void RunJob_CallsProcessPdf_IfRequired()
        {
            var jobRunner = BuildJobRunner();
            var job       = BuildJob();

            _pdfProcessor.ProcessingRequired(Arg.Any <ConversionProfile>()).Returns(true);

            jobRunner.RunJob(job, _outputFileMover);

            _pdfProcessor.Received().ProcessPdf(job);
        }