boolean (boolean checkAbstract, PsiMethod method) { TestFramework framework = getCurrentFramework(method.getContainingClass()); return framework != null && framework.isTestMethod(method, checkAbstract); }