void () { VirtualFile file = tempDirectory.newVirtualFile("a/b/c/test.txt"); checkEvents(""" Before: VFileCreateEvent->xx.created VFileCreateEvent->xx.created2 VFileDeleteEvent->test.txt After: VFileCreateEvent->xx.created VFileCreateEvent->xx.created2 VFileDeleteEvent->test.txt Before: VFileDeleteEvent->c After: VFileDeleteEvent->c """, new VFileDeleteEvent(this, file), new VFileCreateEvent(this, file.getParent(), "xx.created", false, null, null, null), new VFileCreateEvent(this, file.getParent(), "xx.created2", false, null, null, null), new VFileDeleteEvent(this, file.getParent())); }