METHOD_0 ( ) { org . IDENT_0 . commons . datastore . core . Query query = new org . IDENT_0 . commons . datastore . core . Query ( ) ; org . IDENT_0 . IDENT_1 . catalog . db . api . IDENT_2 < org . IDENT_0 . IDENT_1 . catalog . IDENT_3 . IDENT_4 > iterator = IDENT_5 . METHOD_1 ( ) . iterator ( IDENT_6 , query , null , IDENT_7 ) ; int count = 0 ; while ( iterator . hasNext ( ) ) { iterator . next ( ) ; count ++ ; } "<AssertPlaceHolder>" ; } next ( ) { org . bson . Document next = IDENT_8 . remove ( ) ; if ( ( filter ) != null ) { next = filter . apply ( next ) ; } java . lang . Object IDENT_9 = next . get ( IDENT_10 . IDENT_11 . IDENT_12 . key ( ) ) ; if ( ( IDENT_9 != null ) && ( ( ( ( org . IDENT_0 . IDENT_1 . catalog . db . mongodb . IDENT_13 . List ) ( IDENT_9 ) ) . size ( ) ) > 100 ) ) { org . IDENT_0 . IDENT_1 . catalog . db . mongodb . IDENT_13 . List < org . bson . Document > IDENT_14 = new org . IDENT_0 . IDENT_1 . catalog . db . mongodb . IDENT_13 . ArrayList ( ) ; for ( org . bson . Document IDENT_15 : ( ( org . IDENT_0 . IDENT_1 . catalog . db . mongodb . IDENT_13 . List < org . bson . Document > ) ( IDENT_9 ) ) ) { IDENT_14 . add ( new org . bson . Document ( ) . append ( IDENT_16 . IDENT_11 . IDENT_17 . key ( ) , IDENT_15 . get ( IDENT_16 . IDENT_11 . IDENT_17 . key ( ) ) ) . append ( IDENT_16 . IDENT_11 . IDENT_18 . key ( ) , IDENT_15 . get ( IDENT_16 . IDENT_11 . IDENT_18 . key ( ) ) ) . append ( IDENT_16 . IDENT_11 . IDENT_19 . key ( ) , IDENT_15 . get ( IDENT_16 . IDENT_11 . IDENT_19 . key ( ) ) ) ) ; } next . put ( IDENT_10 . IDENT_11 . IDENT_12 . key ( ) , IDENT_14 ) ; } METHOD_2 ( next , options ) ; if ( ( converter ) != null ) { return ( ( IDENT_20 ) ( converter . METHOD_3 ( next , options ) ) ) ; } else { return ( ( IDENT_20 ) ( next ) ) ; } }
org . junit . Assert . assertEquals ( 9 , count )