boolean (@NotNull VirtualFile file, @NotNull Project project) { for (TestSourcesFilter filter : EP_NAME.getExtensionList()) { if (filter.isTestSource(file, project)) { return true; } } return false; }