def METHOD_NAME(self, mock_func, occurrence):
    """
    Test that a Slack message is sent with the expected payload when a comment is made on a generic issue type
    """
    event = self.store_event(
        data={"message": "Hellboy's world", "level": "error"}, project_id=self.project.id
    )
    group_event = event.for_group(event.groups[0])
    notification = self.create_notification(group_event.group)
    with self.tasks():
        notification.send()
    attachment, text = get_attachment()
    assert text == f"New comment by {self.name}"
    assert attachment["title"] == TEST_ISSUE_OCCURRENCE.issue_title
    assert attachment["text"] == notification.activity.data["text"]
    assert (
        attachment["footer"]
        == f"{self.project.slug} | <http://testserver/settings/account/notifications/workflow/?referrer=note_activity-slack-user|Notification Settings>"
    )