public WorkerScreeningsController(IConfiguration configuration, ILoggerFactory loggerFactory)
 {
     Configuration  = configuration;
     _loggerFactory = loggerFactory;
     _logger        = loggerFactory.CreateLogger(typeof(WorkerScreeningsController));
     _spiceUtils    = new SpiceUtils(Configuration, _loggerFactory);
 }
        public void Should_DoThis_When_That()
        {
            // All requests made with HttpClient go through its handler's SendAsync() which we mock
            var handler = new Mock <HttpMessageHandler>();

            // subject under test (SUT)
            var spiceUtils = new SpiceUtils(Configuration, LoggerFactory, new TestHttpHandler(handler.Object));
        }