public static Stream<Arguments> getParameters() {
        val domainCatchallHttp = "https*://([A-Za-z0-9_-]+\\.)+vt\\.edu/.*";
        val domainCatchallHttpImap = "(https*|imaps*)://([A-Za-z0-9_-]+\\.)+vt\\.edu/.*";
        val globalCatchallHttpImap = "(https*|imaps*)://.*";
        return Stream.of(
            arguments(
                newService(domainCatchallHttp),
                "https://service.vt.edu/webapp?a=1",
                true
            ),
            arguments(
                newService(domainCatchallHttp),
                "http://test-01.service.vt.edu/webapp?a=1",
                true
            ),
            arguments(
                newService(domainCatchallHttp),
                "https://thepiratebay.se?service.vt.edu/webapp?a=1",
                false
            ),
            arguments(
                newService(domainCatchallHttpImap),
                "http://test_service.vt.edu/login",
                true
            ),
            arguments(
                newService(domainCatchallHttpImap),
                "imaps://imap-server-01.vt.edu/",
                true
            ),
            arguments(
                newService(globalCatchallHttpImap),
                "https://host-01.example.com/",
                true
            ),
            arguments(
                newService(globalCatchallHttpImap),
                "imap://host-02.example.edu/",
                true
            ),
            arguments(
                newService(globalCatchallHttpImap),
                null,
                false
            )
        );
    }
Unit test for {@link CasRegisteredService}.

@author Marvin S. Addison
@since 3.4.0
core/cas-server-core-services/src/test/java/org/apereo/cas/services/CasRegisteredServiceTests.java