String () { final Set<String> patterns = myConfig.getPersistantData().getPatterns(); final int size = patterns.size(); if (size == 0) return TestngBundle.message("action.text.temp.suite"); String firstPattern = ContainerUtil.getFirstItem(patterns); if (size == 1) { return firstPattern; } else { //noinspection DialogTitleCapitalization return TestRunnerBundle.message("test.config.first.pattern.and.few.more", firstPattern, size - 1); } }