in src/main/kotlin/jetbrains/buildServer/notification/slackNotifier/notification/PlainMessageBuilder.kt [91:106]
override fun responsibleChanged(
testNames: Collection<TestName?>,
entry: ResponsibilityEntry,
project: SProject
): MessagePayload {
val testNamesNotNull = testNames.asSequence().filterNotNull().toList()
val testNamesFormatted = formatProblems(testNamesNotNull) {
format.listElement(it.asString)
}
return MessagePayload(
"Investigation of ${testNamesNotNull.size} tests changed " +
"in ${format.url(links.getProjectPageUrl(project.externalId), project.fullName)}:\n" +
testNamesFormatted
)
}