public async Task CourseDirectoryImportFunction_GetProviders_Returns_Expected_Result()
        {
            var builder        = new ProviderBuilder();
            var providers      = builder.BuildList();
            var expectedResult = builder.BuildJson().PrettifyJsonString();

            var tableStorageService = Substitute.For <ITableStorageService>();

            tableStorageService.GetAllProviders().Returns(providers);

            var functionContext = FunctionObjectsBuilder.BuildFunctionContext();
            var request         = FunctionObjectsBuilder.BuildHttpRequestData(HttpMethod.Get);

            var functions = BuildCourseDirectoryImportFunctions(tableStorageService: tableStorageService);
            var result    = await functions.GetProviders(request, functionContext);

            result.Headers.GetValues("Content-Type").Should().NotBeNull();
            result.Headers.GetValues("Content-Type").First().Should().Be("application/json");

            var json = await result.Body.ReadAsString();

            json.PrettifyJsonString().Should().Be(expectedResult);
        }