@Test
    void checkDefaultInterfaceImpls() throws Throwable {
        val authz = new RegisteredServiceAccessStrategy() {
            @Serial
            private static final long serialVersionUID = -6993120869616143038L;
        };
        assertEquals(Integer.MAX_VALUE, authz.getOrder());
        assertTrue(authz.isServiceAccessAllowed(RegisteredServiceTestUtils.getRegisteredService(), RegisteredServiceTestUtils.getService2()));
        assertTrue(authz.isServiceAccessAllowedForSso(RegisteredServiceTestUtils.getRegisteredService()));
        assertTrue(authz.authorizeRequest(RegisteredServiceAccessStrategyRequest.builder().applicationContext(applicationContext).applicationContext(applicationContext).build()));
        assertNull(authz.getUnauthorizedRedirectUrl());
    }
This is test cases for
{@link DefaultRegisteredServiceAccessStrategy}.

@author Misagh Moayyed
@since 4.1
core/cas-server-core-services/src/test/java/org/apereo/cas/services/DefaultRegisteredServiceAccessStrategyTests.java