public void testFindSpringAttributesSunDirectoryServer(){
  LdapProxy proxy=getLdapSunDirectoryServer();
  List result=null;
  try {
    result=proxy.find(getLdapSearchVO("",LdapConstants.NO_SEARCH_LIMIT,null,null,new String[]{"sn"},LdapScopeConstants.SCOPE_SUBTREE));
  }
 catch (  Exception e) {
  }
  assertNotNull(result);
  assertEquals(43,result.size());
}

public void testFindSpringAttributesSunDirectoryServer ( ) { LdapProxy proxy = getLdapSunDirectoryServer ( ) ; List result = null ; try { result = proxy . find ( getLdapSearchVO ( "" , LdapConstants . NO_SEARCH_LIMIT , null , null , new String [ ] { "sn" } , LdapScopeConstants . SCOPE_SUBTREE ) ) ; } catch ( Exception e ) { } assertNotNull ( result ) ; assertEquals ( 43 , result . size ( ) ) ; }
test de busqueda sun directory server con atributos
