public void testEmpty_read_multipleBuffers() {
      ByteBuffer buf1 = ByteBuffer.allocate(5);
      ByteBuffer buf2 = ByteBuffer.allocate(5);
      long read = file.read(0, ImmutableList.of(buf1, buf2));
      assertEquals(-1, read);
      assertEquals(0, buf1.position());
      assertEquals(0, buf2.position());
    }
Actual test cases for testing RegularFiles.
jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java