def METHOD_NAME(
    self, mock__get_client, mock_has_client_policy, mock_get_action_value
):
    mock__get_client.return_value = "localhost"
    mock_has_client_policy.return_value = {}
    mock_get_action_value.return_value = "<d>.<r>.<u>.<s>"
    res = get_tokenissuer(serial="!")
    assert res == "...!"
    res = get_tokenissuer(serial="!", user="matters")
    assert res == "..matters.!"
    res = get_tokenissuer(serial="!", user="matters", realm="else")
    assert res == ".else.matters.!"
    res = get_tokenissuer(
        serial="!", user="matters", realm="else", description="nothing"
    )
    assert res == "nothing.else.matters.!"