@Test
    void verifyScimServicePerApp() {
        val props = new LinkedHashMap<String, RegisteredServiceProperty>();
        props.put(RegisteredServiceProperty.RegisteredServiceProperties.SCIM_OAUTH_TOKEN.getPropertyName(),
            new DefaultRegisteredServiceProperty("token"));
        props.put(RegisteredServiceProperty.RegisteredServiceProperties.SCIM_TARGET.getPropertyName(),
            new DefaultRegisteredServiceProperty("https://localhost:9999"));
        props.put(RegisteredServiceProperty.RegisteredServiceProperties.SCIM_USERNAME.getPropertyName(),
            new DefaultRegisteredServiceProperty(Set.of("username")));
        props.put(RegisteredServiceProperty.RegisteredServiceProperties.SCIM_PASSWORD.getPropertyName(),
            new DefaultRegisteredServiceProperty(Set.of("password")));

        val registeredService = CoreAuthenticationTestUtils.getRegisteredService();
        when(registeredService.getProperties()).thenReturn(props);
        assertNotNull(getPrincipalProvisioningScimService().getScimRequestBuilder(Optional.of(registeredService)));
    }
This is {@link ScimPrincipalProvisionerTests}.

@author Misagh Moayyed
@since 6.4.0
support/cas-server-support-scim/src/test/java/org/apereo/cas/scim/v2/ScimPrincipalProvisionerTests.java