boolean (@NotNull PyFunction node) { final String methodName = node.getName(); final PyClass pyClass = node.getContainingClass(); final String className = pyClass == null ? null : pyClass.getName(); return methodName != null && className != null && methodName.toLowerCase(Locale.getDefault()).startsWith("test") && className.toLowerCase(Locale.getDefault()).startsWith("test"); }