public void AppendFill_Should_Throw_On_Non_Positive_Count(int count) { var buffer = new BoundedBuffer(); buffer.Invoking(b => b.AppendFill(Helpers.EmptyBuffer, 0, count)) .ShouldThrow<ArgumentOutOfRangeException>(); }