def METHOD_NAME(
    make_organization_and_user_with_slack_identities,
    make_alert_receive_channel,
    make_alert_group,
    source,
    expected_text,
):
    organization, user, _, _ = make_organization_and_user_with_slack_identities()
    alert_receive_channel = make_alert_receive_channel(organization)
    alert_group = make_alert_group(alert_receive_channel)
    alert_group.resolve(resolved_by=source, resolved_by_user=user)
    assert alert_group.get_resolve_text() == expected_text.format(username=user.get_username_with_slack_verbal())