示例#1
0
        public void AddPollyPolicy_ShouldRegisterCircuitBreakerManagerAsSingleton()
        {
            var serviceCollection = new ServiceCollectionImpl();

            serviceCollection.AddPollyPolicy("Test", GetCircuitBreakerPolicy());

            AssertManagerRegistered(serviceCollection);
        }