METHOD_0 ( ) { final java . util . Collection < java . lang . Integer > IDENT_0 = java . util . Arrays . asList ( 1 , 2 , 3 ) ; final java . util . function . IDENT_1 < java . lang . Integer , java . lang . Integer , java . lang . Integer > f = ( a , b ) -> a + b ; final int actual = org . IDENT_2 . IDENT_3 . IDENT_4 . METHOD_1 ( f , 2 , IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . util . function . IDENT_1 , IDENT_5 , java . lang . IDENT_6 ) { IDENT_5 p = IDENT_7 ; for ( final IDENT_8 x : IDENT_0 ) { p = f . apply ( p , x ) ; } return p ; }
org . junit . Assert . assertEquals ( 8 , actual )