@Test
        void verifyAction() throws Throwable {
            val user = UUID.randomUUID().toString();
            val context = MockRequestContext.create(applicationContext);
            WebUtils.putCredential(context, CoreAuthenticationTestUtils.getCredentialsWithSameUsernameAndPassword());
            WebUtils.putTicketGrantingTicketInScopes(context, new MockTicketGrantingTicket(user));
            WebUtils.putAuthentication(CoreAuthenticationTestUtils.getAuthentication(UUID.randomUUID().toString()), context);
            assertNull(acceptableUsagePolicyVerifyAction.execute(context));
        }
This is {@link AcceptableUsagePolicyVerifyActionTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-aup-webflow/src/test/java/org/apereo/cas/web/flow/AcceptableUsagePolicyVerifyActionTests.java