def METHOD_NAME(self, backend_config, userinfo, incoming_authn_response):
    self.setup_token_endpoint(
        backend_config["server_info"]["token_endpoint"])
    self.setup_userinfo_endpoint(
        backend_config["server_info"]["user_info"], userinfo)
    self.orcid_backend._authn_response(incoming_authn_response)
    args = self.orcid_backend.auth_callback_func.call_args[0]
    assert isinstance(args[0], Context)
    assert isinstance(args[1], InternalData)
    self.assert_expected_attributes(userinfo, args[1].attributes)