void () { VirtualFile testTxt = tempDirectory.newVirtualFile("a/b/c/test.txt"); VirtualFile newParent = tempDirectory.newVirtualDirectory("a/b/d"); checkEvents(""" Before: VFileMoveEvent->test.txt After: VFileMoveEvent->test.txt Before: VFileDeleteEvent->d After: VFileDeleteEvent->d """, new VFileMoveEvent(this, testTxt, newParent), new VFileDeleteEvent(this, newParent)); }