@Test
    void verifyOperation() {
        val tenantDefinition = tenantExtractor.getTenantsManager().findTenant("shire").orElseThrow();
        val results = stubTenantPersonAttributeDaoBuilder.build(tenantDefinition);
        assertFalse(results.isEmpty());
        val attributeDao = results.getFirst();
        assertFalse(attributeDao.isDisposable());
        val person = attributeDao.getPerson("casuser");
        assertNotNull(person);
        assertTrue(person.getAttributes().containsKey("name"));
        assertTrue(person.getAttributes().containsKey("department"));
    }
This is {@link TenantStubPersonAttributeDaoBuilderTests}.

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