2 overrides of CreateEmptyStrategy
Microsoft.Extensions.Http.Resilience.Tests (2)
Routing\OrderedRoutingStrategyTest.cs (1)
81
internal override RequestRoutingStrategy
CreateEmptyStrategy
() => new OrderedGroupsRoutingStrategy(Mock.Of<Randomizer>(), Mock.Of<ObjectPool<OrderedGroupsRoutingStrategy>>());
Routing\WeightedRoutingStrategyTest.cs (1)
165
internal override RequestRoutingStrategy
CreateEmptyStrategy
() => new WeightedGroupsRoutingStrategy(Mock.Of<Randomizer>(), Mock.Of<ObjectPool<WeightedGroupsRoutingStrategy>>());
1 reference to CreateEmptyStrategy
Microsoft.Extensions.Http.Resilience.Tests (1)
Routing\RoutingStrategyTest.cs (1)
92
Assert.Throws<InvalidOperationException>(() =>
CreateEmptyStrategy
().TryGetNextRoute(out _));