public void testEmpty_write_singleBuffer_atNonZeroPosition() throws IOException {
      file.write(5, buffer("111"));
      assertContentEquals("00000111", file);
    }
Actual test cases for testing RegularFiles.
jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java