boolean (@NotNull PsiClass psiClass) { for (TestFramework framework : TestFramework.EXTENSION_NAME.getExtensionList()) { if (framework.isPotentialTestClass(psiClass)) { return true; } } return false; }