public void testFindSpringSunDirectoryServerWithLimit(){
  LdapProxy proxy=getLdapSunDirectoryServer();
  List result=null;
  int limit=1;
  try {
    result=proxy.find(getLdapSearchVO("",limit,"cn","nacho",null,LdapScopeConstants.SCOPE_SUBTREE));
  }
 catch (  Exception e) {
  }
  assertNotNull(result);
  if (result != null) {
    assertEquals(limit,result.size());
  }
}

public void testFindSpringSunDirectoryServerWithLimit ( ) { LdapProxy proxy = getLdapSunDirectoryServer ( ) ; List result = null ; int limit = 1 ; try { result = proxy . find ( getLdapSearchVO ( "" , limit , "cn" , "nacho" , null , LdapScopeConstants . SCOPE_SUBTREE ) ) ; } catch ( Exception e ) { } assertNotNull ( result ) ; if ( result != null ) { assertEquals ( limit , result . size ( ) ) ; } }
test de busqueda sun directory server con limite
