public void testEmpty_read_byteArray() {
      byte[] array = new byte[10];
      assertEquals(-1, file.read(0, array, 0, array.length));
      assertArrayEquals(bytes("0000000000"), array);
    }
Actual test cases for testing RegularFiles.
jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java