void (@NotNull CoreJavaFileManager manager, @NotNull String qName) { PsiClass foundClass = manager.findClass(qName, GlobalSearchScope.allScope(getProject())); assertNotNull("Could not find:" + qName, foundClass); assertEquals("Found " + foundClass.getQualifiedName() + " instead of " + qName, qName, foundClass.getQualifiedName()); }