@Test
    void verifyNotAssignedValue() {
        val service = mock(RegisteredService.class);
        val properties = (Map) Map.of(
            RegisteredServiceProperties.CORS_MAX_AGE.getPropertyName(), new DefaultRegisteredServiceProperty("100"),
            RegisteredServiceProperties.CORS_ALLOW_CREDENTIALS.getPropertyName(), new DefaultRegisteredServiceProperty("false")
        );
        when(service.getProperties()).thenReturn(properties);
        assertTrue(RegisteredServiceProperties.INTERNAL_SERVICE_DEFINITION.isNotAssignedTo(service));
        assertFalse(RegisteredServiceProperties.CORS_MAX_AGE.isNotAssignedTo(service, "100"::equalsIgnoreCase));
        assertTrue(RegisteredServiceProperties.CORS_MAX_AGE.isNotAssignedTo(service, "600"::equalsIgnoreCase));
    }
This is {@link RegisteredServicePropertyTests}.

@author Misagh Moayyed
@since 6.3.0
api/cas-server-core-api-services/src/test/java/org/apereo/cas/services/RegisteredServicePropertyTests.java