public static Task StopContentManagementFunction(FeatureContext context)
        {
            return(context.RunAndStoreExceptionsAsync(async() =>
            {
                await OpenApiWebHostManager.GetInstance(context).StopAllFunctionsAsync().ConfigureAwait(false);

                HttpClient httpClient = context.Get <HttpClient>();
                httpClient.Dispose();
            }));
        }
        public static async Task StartContentManagementFunction(FeatureContext context)
        {
            await OpenApiWebHostManager.GetInstance(context).StartFunctionAsync <Startup>(BaseUrl).ConfigureAwait(false);

            // Create a client for the test
            var httpClient = new HttpClient();
            var client     = new ContentClient(httpClient)
            {
                BaseUrl = BaseUrl,
            };

            context.Set(httpClient);
            context.Set(client);
        }