OpenStory.Common.IO.BoundedBufferFixture.Constructor_Should_Throw_On_Non_Positive_Capacity C# (CSharp) Method

Constructor_Should_Throw_On_Non_Positive_Capacity() private method

private Constructor_Should_Throw_On_Non_Positive_Capacity ( int capacity ) : void
capacity int
return void
        public void Constructor_Should_Throw_On_Non_Positive_Capacity(int capacity)
        {
            Action action = () => new BoundedBuffer(capacity);
            action.ShouldThrow<ArgumentOutOfRangeException>();
        }