@Test
  public void readLinesReturnsSameLinesThatWereJustWritten() throws IOException {
    FileUtils.writeLines(file, lines);

    assertThat(FileUtils.readLines(file, Charset.defaultCharset())).isEqualTo(lines);
  }
Integration tests to confirm that writing to file system works properly in stressTest
geode-core/src/integrationTest/java/org/apache/geode/logging/internal/FileSystemCanaryIntegrationTest.java