METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = org . IDENT_5 . api . easymock . IDENT_6 . METHOD_1 ( com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . class , STRING_0 ) ; java . util . List < com . IDENT_0 . IDENT_1 . data . Result > IDENT_7 = new java . util . ArrayList < com . IDENT_0 . IDENT_1 . data . Result > ( ) ; java . util . List < com . IDENT_0 . IDENT_1 . data . IDENT_8 > IDENT_9 = new java . util . ArrayList < com . IDENT_0 . IDENT_1 . data . IDENT_8 > ( ) ; for ( int i = 0 ; i < 10 ; i ++ ) { IDENT_9 . add ( new com . IDENT_0 . IDENT_1 . data . METHOD_2 ( com . IDENT_0 . IDENT_1 . util . IDENT_10 . METHOD_3 ( java . lang . String . format ( STRING_1 , i ) ) , com . IDENT_0 . IDENT_1 . util . IDENT_10 . METHOD_3 ( STRING_2 ) , STRING_3 . getBytes ( ) ) ) ; } IDENT_7 . add ( new com . IDENT_0 . IDENT_1 . data . Result ( IDENT_9 ) ) ; org . easymock . EasyMock . expect ( IDENT_4 . METHOD_4 ( ) ) . andReturn ( new com . IDENT_0 . IDENT_1 . IDENT_11 . METHOD_5 ( IDENT_7 . iterator ( ) ) ) ; com . IDENT_0 . IDENT_1 . adapter . IDENT_12 IDENT_13 = new com . IDENT_0 . IDENT_1 . IDENT_14 . METHOD_6 ( ) ; class IDENT_15 extends com . IDENT_0 . IDENT_1 . IDENT_2 . write . IDENT_16 { @ com . IDENT_0 . IDENT_1 . IDENT_2 . Override public java . util . List < com . IDENT_0 . IDENT_1 . data . METHOD_2 > apply ( com . IDENT_0 . IDENT_1 . data . Result write ) { return java . util . Collections . IDENT_17 ; } } org . IDENT_5 . api . easymock . IDENT_6 . METHOD_7 ( ) ; IDENT_4 . METHOD_8 ( IDENT_13 , new METHOD_9 ( ) ) ; org . IDENT_5 . api . easymock . IDENT_6 . METHOD_10 ( ) ; java . util . Iterator < com . IDENT_0 . IDENT_1 . data . Result > results = IDENT_13 . get ( new com . IDENT_0 . IDENT_1 . IDENT_18 . METHOD_11 ( new com . IDENT_0 . IDENT_1 . data . METHOD_12 ( new byte [ 0 ] ) ) ) ; "<AssertPlaceHolder>" ; org . IDENT_5 . api . easymock . IDENT_6 . METHOD_13 ( ) ; org . easymock . EasyMock . expect ( IDENT_4 . METHOD_4 ( ) ) . andReturn ( new com . IDENT_0 . IDENT_1 . IDENT_11 . METHOD_5 ( IDENT_7 . iterator ( ) ) ) ; IDENT_13 = new com . IDENT_0 . IDENT_1 . IDENT_14 . METHOD_6 ( ) ; class IDENT_19 extends com . IDENT_0 . IDENT_1 . IDENT_2 . write . IDENT_16 { @ com . IDENT_0 . IDENT_1 . IDENT_2 . Override public java . util . List < com . IDENT_0 . IDENT_1 . data . METHOD_2 > apply ( com . IDENT_0 . IDENT_1 . data . Result write ) { if ( ! ( write . METHOD_14 ( ) . iterator ( ) . hasNext ( ) ) ) return java . util . Collections . IDENT_17 ; java . util . List < com . IDENT_0 . IDENT_1 . data . METHOD_2 > IDENT_20 = new java . util . ArrayList < com . IDENT_0 . IDENT_1 . data . METHOD_2 > ( ) ; for ( com . IDENT_0 . IDENT_1 . data . METHOD_2 IDENT_21 : write . METHOD_14 ( ) ) IDENT_20 . add ( new com . IDENT_0 . IDENT_1 . data . METHOD_2 ( IDENT_21 . METHOD_15 ( ) , com . IDENT_0 . IDENT_1 . util . IDENT_10 . METHOD_16 ( IDENT_21 . METHOD_17 ( ) ) , STRING_4 . getBytes ( ) ) ) ; IDENT_20 . addAll ( write . METHOD_14 ( ) ) ; return IDENT_20 ; } } METHOD_7 ( ) ; IDENT_4 . METHOD_8 ( IDENT_13 , new METHOD_18 ( ) ) ; results = IDENT_13 . get ( new com . IDENT_0 . IDENT_1 . IDENT_18 . METHOD_11 ( new com . IDENT_0 . IDENT_1 . data . METHOD_12 ( new byte [ 0 ] ) ) ) ; com . IDENT_0 . IDENT_1 . test . Utils . METHOD_19 ( results , 10 , 20 , false ) ; METHOD_10 ( ) ; } hasNext ( ) { return ( IDENT_22 ) != null ; }
org . junit . Assert . assertFalse ( results . hasNext ( ) )