@Test
public void testsetByte() throws Exception {

    //given
    final byte b0 = 0x45;
    final byte b1 = 0x67;
    final byte b2 = 0x76;
    //when
    final Pointer<Byte> bytePointer = Pointer.nref(b0,
                                                   b1,
                                                   b2);
    //then
    assertThat(JNITestUtil.getByte(bytePointer.address)).isEqualTo(b0);
    assertThat(JNITestUtil.getByte(bytePointer.address + 1)).isEqualTo(b1);
    assertThat(JNITestUtil.getByte(bytePointer.address + 2)).isEqualTo(b2);
}