public void testEmpty_write_singleByte_atNonZeroPosition() throws IOException {
      file.write(5, (byte) 1);
      assertContentEquals("000001", file);
    }
Actual test cases for testing RegularFiles.
jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java