@Test
public void testReadBytes() {

    byte[] myvar = "Any String you want".getBytes();
    ByteBuffer buffer = ByteBuffer.allocate(myvar.length);
    buffer.put(myvar);
    buffer.rewind();
    this.subTest(buffer);
    // test readonly buffer, different path
    buffer = ByteBuffer.wrap(myvar).asReadOnlyBuffer();
    this.subTest(buffer);
}