public void ShouldGetShortVolatileFromNativeBuffer(IAtomicBuffer buffer) { Marshal.WriteInt16(buffer.BufferPointer, Index, ShortValue); Assert.That(buffer.GetShortVolatile(Index), Is.EqualTo(ShortValue)); }