void () { VirtualFile file = createChildDirectory(myIgnoredDir, "dir"); EventsTestListener listener = new EventsTestListener(); myPsiManager.addPsiTreeChangeListener(listener,getTestRootDisposable()); move(file, myPrjDir1); String string = listener.getEventsString(); String expected = """ beforeChildAddition childAdded """; assertEquals(expected, string); }