public void testEmpty_write_noBytesArray_atNonZeroPosition() throws IOException {
      file.write(5, bytes(), 0, 0);
      assertContentEquals(bytes("00000"), file);
    }
Actual test cases for testing RegularFiles.
jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java