@SuppressWarnings("SameReturnValue")
   @Test
void testReadingBuffer() throws IOException {

	Mockito.doAnswer(invocation -> {
		ByteBuffer bb = invocation.getArgument(0);
		bb.rewind();
		bb.put("TEST".getBytes(US_ASCII)); // Put test data in buffer
		return null;
	}).when(fc).read(any(ByteBuffer.class), eq(3L));
	// Read 4 bytes
	ByteBuffer bb = hdfFc.readBufferFromAddress(3, 4);
	assertThat(bb.capacity(), is(equalTo(4)));
	assertThat(US_ASCII.decode(bb).toString(), is(equalTo("TEST")));
}