private static DurableTaskExtension GetDurableTaskConfig()
        {
            var options = new DurableTaskOptions();

            options.HubName = "DurableTaskHub";
            options.WebhookUriProviderOverride = () => new Uri("https://sampleurl.net");
            var wrappedOptions             = new OptionsWrapper <DurableTaskOptions>(options);
            var nameResolver               = TestHelpers.GetTestNameResolver();
            var connectionStringResolver   = new TestConnectionStringResolver();
            var platformInformationService = TestHelpers.GetMockPlatformInformationService();
            var serviceFactory             = new AzureStorageDurabilityProviderFactory(
                wrappedOptions,
                connectionStringResolver,
                nameResolver,
                NullLoggerFactory.Instance,
                platformInformationService);

            return(new DurableTaskExtension(
                       wrappedOptions,
                       new LoggerFactory(),
                       nameResolver,
                       new[] { serviceFactory },
                       new TestHostShutdownNotificationService(),
                       new DurableHttpMessageHandlerFactory(),
                       platformInformationService: platformInformationService));
        }
        private static DurableTaskExtension GetDurableTaskConfig()
        {
            var options = new DurableTaskOptions();

            options.HubName         = "DurableTaskHub";
            options.NotificationUrl = new Uri("https://sampleurl.net");
            var wrappedOptions           = new OptionsWrapper <DurableTaskOptions>(options);
            var connectionStringResolver = new TestConnectionStringResolver();
            var serviceFactory           = new AzureStorageDurabilityProviderFactory(wrappedOptions, connectionStringResolver);

            return(new DurableTaskExtension(
                       wrappedOptions,
                       new LoggerFactory(),
                       TestHelpers.GetTestNameResolver(),
                       serviceFactory,
                       new DurableHttpMessageHandlerFactory()));
        }