METHOD_0 ( ) { com . mongodb . IDENT_0 . IDENT_1 . IDENT_2 . METHOD_1 ( ) ; METHOD_2 ( com . mongodb . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 , com . mongodb . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_4 ) ; java . util . List < com . mongodb . IDENT_0 . api . IDENT_5 > IDENT_6 = IDENT_7 . METHOD_3 ( com . mongodb . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 , 50 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( com . mongodb . IDENT_0 . api . User , int ) { java . util . List < com . mongodb . IDENT_0 . api . IDENT_5 > result = new java . util . ArrayList < com . mongodb . IDENT_0 . api . IDENT_5 > ( IDENT_8 ) ; com . mongodb . IDENT_9 IDENT_10 = IDENT_11 . find ( METHOD_4 ( com . mongodb . IDENT_0 . IDENT_1 . IDENT_12 . IDENT_13 , user . METHOD_5 ( ) ) , METHOD_6 ( com . mongodb . IDENT_0 . IDENT_1 . IDENT_12 . IDENT_14 ) ) . METHOD_7 ( METHOD_8 ( com . mongodb . IDENT_0 . IDENT_1 . IDENT_12 . IDENT_15 ) ) . METHOD_9 ( config . IDENT_16 ) ; try { while ( ( IDENT_10 . hasNext ( ) ) && ( ( result . size ( ) ) < IDENT_8 ) ) { com . mongodb . IDENT_17 IDENT_18 = IDENT_10 . next ( ) ; @ com . mongodb . IDENT_0 . IDENT_1 . METHOD_10 ( STRING_0 ) java . util . List < com . mongodb . IDENT_17 > IDENT_19 = ( ( java . util . List < com . mongodb . IDENT_17 > ) ( IDENT_18 . get ( com . mongodb . IDENT_0 . IDENT_1 . IDENT_12 . IDENT_14 ) ) ) ; int IDENT_20 = IDENT_19 . size ( ) ; for ( int i = IDENT_20 - 1 ; i >= 0 ; OP_0 i ) { result . add ( new com . mongodb . IDENT_0 . api . METHOD_11 ( IDENT_19 . get ( i ) ) ) ; if ( ( result . size ( ) ) >= IDENT_8 ) break ; } } } finally { IDENT_10 . close ( ) ; } return result ; }
org . junit . Assert . assertTrue ( ( ( IDENT_6 . size ( ) ) == 0 ) )