@Test
    void verifyNoAuth() {
        val body = createUmaResourceRegistrationRequest().toJson();
        val response = umaUpdatePolicyForResourceSetEndpointController.updatePoliciesForResourceSet(1, 2, body,
            new MockHttpServletRequest(), new MockHttpServletResponse());
        assertEquals(HttpStatus.BAD_REQUEST, response.getStatusCode());
    }
This is {@link UmaUpdatePolicyForResourceSetEndpointControllerTests}.

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