void (VirtualFile vFile, String... expected) { var list1 = myFS.list(vFile); var list2 = ((LocalFileSystemImpl)myFS).listWithCaching(vFile); ((LocalFileSystemImpl)myFS).clearListCache(); assertThat(list1). containsExactlyInAnyOrder(expected). containsExactlyInAnyOrder(list2); }