private AuthenticationHandler getFirstHandler() {
        return authenticationHandler.first();
    }
This is {@link RestAuthenticationHandlerTests}.

@author Misagh Moayyed
@since 5.0.0
support/cas-server-support-rest-authentication/src/test/java/org/apereo/cas/adaptors/rest/RestAuthenticationHandlerTests.java