@Test
    void verifyAttributes() throws Throwable {
        val context = MockRequestContext.create(applicationContext);

        val attributes = new HashMap<String, List<Object>>();
        attributes.put("resourceType", List.of("User"));
        attributes.put("nickName", List.of(UUID.randomUUID().toString()));
        attributes.put("displayName", List.of(UUID.randomUUID().toString()));
        attributes.put("givenName", List.of(UUID.randomUUID().toString()));
        attributes.put("familyName", List.of(UUID.randomUUID().toString()));
        attributes.put("middleName", List.of(UUID.randomUUID().toString()));
        attributes.put("email", List.of(UUID.randomUUID() + "@google.com"));
        attributes.put("phoneNumber", List.of("1234567890"));
        attributes.put("entitlements", List.of(UUID.randomUUID().toString()));
        attributes.put("roles", List.of(UUID.randomUUID().toString()));
        attributes.put("ims", List.of(UUID.randomUUID().toString()));
        attributes.put("addresses", List.of(UUID.randomUUID().toString()));
        attributes.put("employeeNumber", List.of(1234656));

        val principal = CoreAuthenticationTestUtils.getPrincipal(UUID.randomUUID().toString(), attributes);
        WebUtils.putAuthentication(CoreAuthenticationTestUtils.getAuthentication(principal), context);
        WebUtils.putCredential(context, CoreAuthenticationTestUtils.getCredentialsWithSameUsernameAndPassword());

        assertEquals(CasWebflowConstants.TRANSITION_ID_SUCCESS, principalScimProvisionerAction.execute(context).getId());
        val people = attributeRepository.getPeople(Map.of("username", List.of(principal.getId())),
            PersonAttributeDaoFilter.alwaysChoose(), Set.of());
        val person = people.iterator().next();
        assertNotNull(person);
    }
This is {@link ScimPersonAttributeDaoTests}.

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