def METHOD_NAME(
    mocked_notify,
    user_api_client,
    channel_PLN,
):
    # given
    redirect_url = "http://localhost:3000"
    variables = {
        "redirectUrl": redirect_url,
        "channel": channel_PLN.slug,
    }
    user = user_api_client.user
    user.is_confirmed = False
    user.save()
    # when
    response = user_api_client.post_graphql(SEND_CONFIRMATION_EMAIL_MUTATION, variables)
    content = get_graphql_content(response)
    # then
    assert not content["data"]["sendConfirmationEmail"]["errors"]
    token = mocked_notify.call_args.kwargs["payload"]["token"]
    user.refresh_from_db()
    assert default_token_generator.check_token(user, token)