private boolean isAuthorized(final MockRequestContext context) throws Throwable {
        val service = RegisteredServiceTestUtils.getService(UUID.randomUUID().toString());
        val registeredService = RegisteredServiceTestUtils.getRegisteredService(service.getId());
        servicesManager.save(registeredService);
        return authorizer.isDelegatedClientAuthorizedFor("CasClient", service, context);
    }
This is {@link PasswordlessDelegatedClientIdentityProviderAuthorizerTests}.

@author Misagh Moayyed
@since 6.6.0
support/cas-server-support-passwordless-webflow/src/test/java/org/apereo/cas/web/flow/delegation/PasswordlessDelegatedClientIdentityProviderAuthorizerTests.java