override fun testsMuted()

in src/main/kotlin/jetbrains/buildServer/notification/slackNotifier/notification/PlainMessageBuilder.kt [195:203]


    override fun testsMuted(tests: Collection<STest?>, muteInfo: MuteInfo): MessagePayload {
        val user = detailsFormatter.userName(muteInfo)
        val project = detailsFormatter.projectName(muteInfo)
        return if (user == null) {
            MessagePayload("${tests.size} tests were muted in $project")
        } else {
            MessagePayload("$user muted ${tests.size} tests in $project.")
        }
    }