def METHOD_NAME(
    prepare_user_search_document_value_mock,
    staff_api_client,
    address,
    permission_manage_users,
    graphql_address_data,
):
    # given
    query = ADDRESS_UPDATE_MUTATION
    variables = {
        "addressId": graphene.Node.to_global_id("Address", address.id),
        "address": graphql_address_data,
    }
    # when
    response = staff_api_client.post_graphql(
        query, variables, permissions=[permission_manage_users]
    )
    # then
    content = get_graphql_content(response)
    data = content["data"]["addressUpdate"]
    assert data["address"]["city"] == graphql_address_data["city"].upper()
    prepare_user_search_document_value_mock.assert_not_called()