def METHOD_NAME(self):
    """Check that user configuration allows to specify only one LDAP server for a given user
    and if multiple servers are specified then the first one is used."""
    servers = {
        "openldap1": {
            "host": "openldap1", "port": "389", "enable_tls": "no",
            "auth_dn_prefix": "cn=", "auth_dn_suffix": ",ou=users,dc=company,dc=com"
        },
        "openldap2": {
            "host": "openldap2", "enable_tls": "yes", "tls_require_cert": "never",
            "auth_dn_prefix": "cn=", "auth_dn_suffix": ",ou=users,dc=company,dc=com"
        },
    }
    user = {"server": "openldap1", "username": "user1", "password": "user1", "login": True}
    with When("I first create regular user configuration file"):
        config = create_ldap_users_config_content(user)
    with And("I modify it to add another server"):
        root = xmltree.fromstring(config.content)
        xml_users = root.find("users")
        xml_users.append(xmltree.Comment(text=f"LDAP users {config.uid}"))
        xml_user_ldap = xml_users.find(user["username"]).find("ldap")
        xml_append(xml_user_ldap, "server", "openldap2")
        xml_indent(root)
        content = xml_with_utf8 + str(xmltree.tostring(root, short_empty_elements=False, encoding="utf-8"), "utf-8")
        new_config = Config(content, config.path, config.name, config.uid, config.preprocessed_name)
    with Then("I login and expect it to work as the first server shall be used"):
        login(servers, user, config=new_config)