7 references to AddStandardResilienceHandler
Microsoft.Extensions.Http.Resilience.Tests (7)
Resilience\HttpClientBuilderExtensionsTests.Standard.cs (7)
107Assert.Throws<ArgumentNullException>(() => AddStandardResilienceHandler(mode, builder, _validConfigurationSection, options => { }));
117Assert.Throws<ArgumentNullException>(() => AddStandardResilienceHandler(mode, builder, _validConfigurationSection, null!));
128Assert.Throws<ArgumentNullException>(() => AddStandardResilienceHandler(mode, builder, null!, options => { }));
138Assert.Throws<ArgumentException>(() => AddStandardResilienceHandler(mode, builder, _emptyConfigurationSection, options => { }));
148AddStandardResilienceHandler(mode, builder, _invalidConfigurationSection, options => { });
184AddStandardResilienceHandler(MethodArgs.ConfigureMethod, builder, null!, options =>
213AddStandardResilienceHandler(mode, builder, _validConfigurationSection, options => { });