public void ReadPaddedString_Should_Throw_When_Padding_Is_Non_Positive(int padding) { EmptyReader .Invoking(r => r.ReadPaddedString(padding)) .ShouldThrow <ArgumentOutOfRangeException>(); }
public void Skip_Should_Throw_When_Count_Is_Negative() { EmptyReader .Invoking(r => r.Skip(-1)) .ShouldThrow <ArgumentOutOfRangeException>(); }