@Test
    void verifyOperation() {
        val request = new MockHttpServletRequest();
        request.setParameter(SamlIdPConstants.PROVIDER_ID, "example-sp-entityid");
        val input = new SamlIdPServiceFactory(mock(TenantExtractor.class), SimpleUrlValidator.getInstance());
        val service = input.createService(request);
        assertNotNull(service);
        assertEquals("example-sp-entityid", service.getId());
    }
This is {@link SamlIdPServiceFactoryTests}.

@author Misagh Moayyed
@since 6.2.0
support/cas-server-support-saml-idp/src/test/java/org/apereo/cas/support/saml/authentication/SamlIdPServiceFactoryTests.java