public void Should_be_able_to_set_MaxParallelization_via_interface() { IMutableBulkheadPolicy MutableBulkhead = MutableBulkheadPolicy.Create(20, 10); MutableBulkhead.MaxParallelization = 30; MutableBulkhead.MaxParallelization.Should().Be(30); MutableBulkhead.BulkheadAvailableCount.Should().Be(30); }
public void Should_be_able_to_set_MaxQueueingActions_via_interface() { IMutableBulkheadPolicy MutableBulkhead = MutableBulkheadPolicy.Create(20, 10); MutableBulkhead.MaxQueueingActions = 30; MutableBulkhead.MaxQueueingActions.Should().Be(30); MutableBulkhead.QueueAvailableCount.Should().Be(30); }
public void Should_be_able_to_use_QueueAvailableCount_via_interface() { IMutableBulkheadPolicy MutableBulkhead = MutableBulkheadPolicy.Create(20, 10); MutableBulkhead.QueueAvailableCount.Should().Be(10); }