def METHOD_NAME(self, mock_func):
    """
    Test that a Slack message is sent with the expected payload when an issue regresses
    """
    with self.tasks():
        self.create_notification(self.group, {"version": "1.0.0"}).send()
    attachment, text = get_attachment()
    assert (
        text
        == "Issue marked as regression in release <http://testserver/organizations/baz/releases/1.0.0/|1.0.0>"
    )
    assert attachment["title"] == "こんにちは"
    assert attachment["text"] == ""
    assert (
        attachment["footer"]
        == f"{self.project.slug} | <http://testserver/settings/account/notifications/workflow/?referrer=regression_activity-slack-user|Notification Settings>"
    )