@Test
        void verifyNoOpRepository() throws Throwable {
            val context = new MockRequestContext();
            WebUtils.putAuthentication(CoreAuthenticationTestUtils.getAuthentication(UUID.randomUUID().toString()), context);
            assertTrue(acceptableUsagePolicyRepository.fetchPolicy(context).isEmpty());
            assertFalse(acceptableUsagePolicyRepository.submit(context));
            assertTrue(acceptableUsagePolicyRepository.verify(context).getStatus().isUndefined());
        }
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