def METHOD_NAME(self, mock_func):
    """
    Test that a Slack message is sent with the expected payload when an issue is assigned
    """
    with self.tasks():
        self.create_notification(self.group, AssignedActivityNotification).send()
    attachment, text = get_attachment()
    assert text == f"Issue assigned to {self.name} by themselves"
    assert attachment["title"] == self.group.title
    assert (
        attachment["footer"]
        == f"{self.project.slug} | <http://testserver/settings/account/notifications/workflow/?referrer=assigned_activity-slack-user|Notification Settings>"
    )