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