public void ctor_throws_if_capacity_is_not_positive() { Assert.Throws<ArgumentOutOfRangeException>(() => new ByteBuffer(0)); Assert.Throws<ArgumentOutOfRangeException>(() => new ByteBuffer(-1)); }