boolean created = childFile.createNewFile();
assertTrue(created || childFile.exists());
final VirtualFile dir = myFS.refreshAndFindFileByIoFile(dirFile);
assertNotNull(dir);
final VirtualFile child = myFS.refreshAndFindFileByIoFile(childFile);
<BUG>assertNotNull(child);
assertTrue(childFile.delete());</BUG>
}
public void testFindRoot() throws IOException {
VirtualFile root = myFS.findFileByPath("wrong_path");

boolean created = childFile.createNewFile();
assertTrue(created || childFile.exists());
final VirtualFile dir = myFS.refreshAndFindFileByIoFile(dirFile);
assertNotNull(dir);
final VirtualFile child = myFS.refreshAndFindFileByIoFile(childFile);
assertNotNull(Arrays.toString(dir.getChildren()), child);
assertTrue(childFile.delete());
}
public void testFindRoot() throws IOException {
VirtualFile root = myFS.findFileByPath("wrong_path");
