public void append_throws_if_buffer_is_null() { var buffer = new ByteBuffer(1); Assert.Throws<ArgumentNullException>(() => buffer.Append(null)); }