METHOD_0 ( ) { com . IDENT_0 . entity . IDENT_1 entity = new com . IDENT_0 . entity . METHOD_1 ( ) ; entity . IDENT_2 = IDENT_3 ; IDENT_4 . create ( entity ) . now ( ) ; int count = INT_0 ; long offset = INT_1 ; com . IDENT_0 . List < java . lang . Long > data = new com . IDENT_0 . ArrayList ( count ) ; for ( int i = 0 ; i < count ; i ++ ) { data . add ( ( i + offset ) ) ; } entity . list . addAll ( data ) ; com . IDENT_0 . List < java . lang . Long > IDENT_5 = entity . list . METHOD_2 ( ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { com . IDENT_0 . List found = null ; try { found = IDENT_6 . METHOD_3 ( ) ; } catch ( com . IDENT_7 . client . IDENT_8 IDENT_9 ) { if ( ( IDENT_9 . METHOD_4 ( ) ) == INT_2 ) { return new com . IDENT_0 . ArrayList ( 0 ) ; } throw IDENT_9 ; } if ( ( found == null ) || ( found . isEmpty ( ) ) ) { return new com . IDENT_0 . ArrayList ( 0 ) ; } com . IDENT_0 . List < T > results = new com . IDENT_0 . ArrayList ( found . size ( ) ) ; for ( java . lang . Object obj : found ) { java . lang . Object val = ( ( com . IDENT_0 . Map < java . lang . String , java . lang . Object > ) ( obj ) ) . get ( "value" ) ; if ( ( converter ) != null ) { results . add ( ( ( T ) ( converter . METHOD_5 ( val ) ) ) ) ; } else { results . add ( ( ( T ) ( val ) ) ) ; } } return results ; }
org . junit . Assert . assertEquals ( count , IDENT_5 . size ( ) )