METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . METHOD_1 ( com . IDENT_0 . entity . IDENT_2 . class ) ; com . IDENT_0 . Map < java . lang . Long , com . IDENT_0 . entity . IDENT_2 > entities = com . IDENT_0 . TestUtils . METHOD_2 ( 1000 , setName ) ; int count = 0 ; for ( com . IDENT_0 . entity . IDENT_2 entity : entities . values ( ) ) { entity . IDENT_3 = new com . IDENT_0 . ArrayList ( ) ; if ( ( count OP_0 20 ) == 0 ) { entity . IDENT_3 . add ( STRING_0 ) ; } entity . IDENT_3 . add ( com . IDENT_0 . TestUtils . METHOD_3 ( ) ) ; entity . IDENT_3 . add ( com . IDENT_0 . TestUtils . METHOD_3 ( ) ) ; if ( ( count OP_0 3 ) == 0 ) { IDENT_4 . create ( entity ) . now ( ) ; } else { IDENT_4 . create ( entity . IDENT_5 , entity ) . setName ( setName ) . now ( ) ; } count ++ ; } com . IDENT_0 . ResultSet < com . IDENT_0 . entity . IDENT_2 > results = IDENT_4 . query ( com . IDENT_0 . entity . IDENT_2 . class ) . filter ( STRING_1 , STRING_0 ) . now ( ) ; com . IDENT_0 . List < com . IDENT_0 . entity . IDENT_2 > list = results . toList ( ) ; "<AssertPlaceHolder>" ; } toList ( ) { java . util . List < T > output = new java . util . ArrayList ( ) ; java . util . Iterator < T > iterator = iterator ( ) ; while ( iterator . hasNext ( ) ) { output . add ( iterator . next ( ) ) ; } close ( ) ; return output ; }
org . junit . Assert . assertEquals ( 50 , list . size ( ) )