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