def METHOD_NAME(iam_client):
    def _get_user(client=None, user_name=IAM_USER_NAME):
        if client is None:
            # Default client set with fixture `iam_client`
            client = iam_client()
        return client.METHOD_NAME(UserName=user_name)
    return _get_user