def METHOD_NAME(
    app: Flask,
    client: FlaskClient,
    user_rincewind_phone: models.AccountPhone,
    number: str,
) -> None:
    """Test phone number affiliated with a user account."""
    rv = client.post(
        url_for('support_callerid'),
        data={'number': number},
        headers={'Authorization': f'Bearer {app.config["INTERNAL_SUPPORT_API_KEY"]}'},
    )
    assert rv.status_code == 200
    data = rv.json
    assert isinstance(data, dict)
    assert isinstance(data['result'], dict)
    assert data['result']['number'] == VALID_PHONE
    assert data['result']['account'] == {
        'title': user_rincewind_phone.account.fullname,
        'name': user_rincewind_phone.account.username,
    }