void () { VirtualFile root = ProjectRootManager.getInstance(myProject).getContentRoots()[0]; VirtualFile file = root.findChild("1.java"); assertNotNull(file); delete(file); PsiClass stringClass = myJavaFacade.findClass("java.lang.String", GlobalSearchScope.allScope(getProject())); assertNotNull(stringClass); checkUsages(stringClass, ArrayUtilRt.EMPTY_STRING_ARRAY); }