public void testEmpty_write_byteArray_atStart() throws IOException {
      byte[] bytes = bytes("111111");
      file.write(0, bytes, 0, bytes.length);
      assertContentEquals(bytes, file);
    }
Actual test cases for testing RegularFiles.
jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java