@Test
        void verifyResourceFromResourceUrl() {
            val resource = mock(Resource.class);
            when(resource.toString()).thenReturn("ldap://localhost:10389");
            assertThrows(CertificateException.class, () -> fetcher.fetch(resource));
        }
Test cases for {@link LdaptiveResourceCRLFetcher}

@author Misagh Moayyed
@since 4.1
support/cas-server-support-x509/src/test/java/org/apereo/cas/adaptors/x509/authentication/ldap/LdaptiveResourceCRLFetcherTests.java