public void AddPlaceholderResolver_ThrowsIfConfigNull()
        {
            // Arrange
            IConfiguration configuration = null;

            // Act and Assert
            var ex = Assert.Throws <ArgumentNullException>(() => PlaceholderResolverConfigurationExtensions.AddPlaceholderResolver(configuration));
        }
Exemple #2
0
        public void AddPlaceholderResolver_ThrowsIfConfigBuilderNull()
        {
            IConfigurationBuilder configurationBuilder = null;

            var ex = Assert.Throws <ArgumentNullException>(() => PlaceholderResolverConfigurationExtensions.AddPlaceholderResolver(configurationBuilder));
        }