OpenStory.Common.IO.UnsafePacketReadingFixture.ReadBytes_Should_Throw_When_Count_Is_Negative C# (CSharp) Method

ReadBytes_Should_Throw_When_Count_Is_Negative() private method

private ReadBytes_Should_Throw_When_Count_Is_Negative ( ) : void
return void
        public void ReadBytes_Should_Throw_When_Count_Is_Negative()
        {
            EmptyReader
                .Invoking(r => r.ReadBytes(-1))
                .ShouldThrow<ArgumentOutOfRangeException>();
        }
UnsafePacketReadingFixture