@Test
    void verifyGetPeople() {
        val person = attributeRepository.getPeople(Map.of("cn", "casuser"))
            .iterator().next();
        assertNotNull(person);
        assertNotNull(person.getAttributes());
        assertFalse(person.getAttributes().isEmpty());
        assertEquals("casuser", person.getAttributeValue("name"));
        assertEquals(29, person.getAttributeValue("age"));
        assertEquals(3, person.getAttributeValues("messages").size());
    }
This is {@link RestfulPersonAttributeDaoTests}.

@author Misagh Moayyed
@since 5.3.0
support/cas-server-support-person-directory/src/test/java/org/apereo/cas/RestfulPersonAttributeDaoTests.java