void () { VirtualFile file = tempDirectory.newVirtualFile("a/b/c/test.txt"); VirtualFile file2 = tempDirectory.newVirtualFile("a/b/c/test2.txt"); checkEvents(""" Before: VFileDeleteEvent->test.txt After: VFileDeleteEvent->test.txt Before: VFileDeleteEvent->c After: VFileDeleteEvent->c """, new VFileDeleteEvent(this, file), new VFileDeleteEvent(this, file.getParent()), new VFileDeleteEvent(this, file2)); }