private static void assertContentEquals(String expected, RegularFile actual) {
      assertContentEquals(bytes(expected), actual);
    }
Actual test cases for testing RegularFiles.
jimfs/src/test/java/com/google/common/jimfs/RegularFileTest.java