@Test
    void verifyAction() {
        val groovy = new GroovyPrincipalAttributesProperties();
        groovy.setLocation(new ClassPathResource("/GroovyAttributeDao.groovy"));
        val dao = new GroovyPersonAttributeDao(new InternalGroovyScriptDao(applicationContext, casProperties, groovy));
        val queryAttributes = new HashMap<String, Object>();
        queryAttributes.put("username", "casuser");

        val results = dao.getPeople(queryAttributes);
        assertFalse(results.isEmpty());
    }
This is {@link GroovyPersonAttributeDaoTests}.

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