protected static UmaResourceRegistrationRequest createUmaResourceRegistrationRequest(final long id) {
        return createUmaResourceRegistrationRequest(id, CollectionUtils.wrapList("read", "write"));
    }
This is {@link BaseUmaEndpointControllerTests}.

@author Misagh Moayyed
@since 6.0.0
support/cas-server-support-oauth-uma/src/test/java/org/apereo/cas/uma/web/controllers/BaseUmaEndpointControllerTests.java