public void ConfigureElasticSearchTestNullConfigurationThrows()
        {
            Action act = () => ElasticSearchExtensions.ConfigureElasticSearch(new ServiceCollection(), null);

            act.Should().Throw <ArgumentNullException>();
        }
        public void ConfigureElasticSearchTestNullServicesThrows()
        {
            Action act = () => ElasticSearchExtensions.ConfigureElasticSearch((IServiceCollection)null, _mockConfiguration.Object);

            act.Should().Throw <ArgumentNullException>();
        }