question: public void testFindUsersSunDirectoryManager ( ) throws Exception { LdapManager mgr = getLdapSunDirectoryServer ( ) ; List ret = null ; AndFilter filter = new AndFilter ( ) ; filter . and ( new LikeFilter ( mgr . getUsersReturningAttribute ( LdapUserAttributeConstants . LDAP_USER_ATTRIBUTE_GIVEN_NAME ) , "*a*" ) ) ; try { LdapSearchManagerVO searchMgrVO = new LdapSearchManagerVO ( ) ; searchMgrVO . setFilter ( filter ) ; searchMgrVO . setAddUserClasses ( true ) ; ret = mgr . findUsers ( searchMgrVO ) ; } catch ( Exception e ) { } assertEquals ( 11 , ret . size ( ) ) ; }
target:  Test de busqueda de varios usuarios para Sun Directory Manager