METHOD_0 ( ) { METHOD_1 ( ) . METHOD_2 ( IDENT_0 . IDENT_1 ) ; try ( org . apache . directory . ldap . client . api . IDENT_2 connection = new org . apache . directory . ldap . client . api . METHOD_3 ( org . apache . directory . api . util . IDENT_3 . IDENT_4 , METHOD_1 ( ) . METHOD_4 ( ) ) ) { connection . METHOD_5 ( STRING_0 , STRING_1 ) ; org . apache . directory . api . ldap . model . message . IDENT_5 . IDENT_6 IDENT_7 = new org . apache . directory . api . ldap . model . message . IDENT_5 . METHOD_6 ( ) ; IDENT_7 . METHOD_7 ( 4 ) ; java . util . List < org . apache . directory . api . ldap . model . entry . Entry > results = new java . util . ArrayList ( ) ; org . apache . directory . api . ldap . model . message . IDENT_8 IDENT_9 = new org . apache . directory . api . ldap . model . message . METHOD_8 ( ) ; IDENT_9 . METHOD_9 ( new org . apache . directory . api . ldap . model . name . METHOD_10 ( STRING_2 ) ) ; IDENT_9 . METHOD_11 ( STRING_3 ) ; IDENT_9 . METHOD_12 ( IDENT_10 . IDENT_11 ) ; while ( true ) { IDENT_9 . METHOD_13 ( IDENT_7 ) ; try ( org . apache . directory . api . ldap . model . IDENT_12 . IDENT_13 IDENT_12 = connection . search ( IDENT_9 ) ) { while ( IDENT_12 . next ( ) ) { org . apache . directory . api . ldap . model . entry . Entry result = IDENT_12 . METHOD_14 ( ) ; results . add ( result ) ; } java . util . Map < java . lang . String , org . apache . directory . api . ldap . model . message . IDENT_14 > IDENT_5 = IDENT_12 . METHOD_15 ( ) . METHOD_16 ( ) ; org . apache . directory . api . ldap . model . message . IDENT_5 . IDENT_6 IDENT_15 = ( ( org . apache . directory . api . ldap . model . message . IDENT_5 . IDENT_6 ) ( IDENT_5 . get ( IDENT_6 . IDENT_16 ) ) ) ; byte [ ] IDENT_17 = IDENT_15 . METHOD_17 ( ) ; if ( org . apache . directory . api . util . IDENT_18 . isEmpty ( IDENT_17 ) ) { break ; } IDENT_7 . METHOD_18 ( IDENT_17 ) ; } } "<AssertPlaceHolder>" ; } } size ( ) { return IDENT_19 . size ( ) ; }
org . junit . Assert . assertEquals ( 10 , results . size ( ) )