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