METHOD_0 ( ) { final java . util . List < java . util . concurrent . IDENT_0 < eu . IDENT_1 . concurrent . IDENT_2 < java . lang . Object > > > IDENT_3 = com . google . common . collect . ImmutableList . of ( c , IDENT_4 ) ; final java . util . List < eu . IDENT_1 . concurrent . IDENT_2 < java . lang . Object > > IDENT_5 = com . google . common . collect . ImmutableList . of ( IDENT_6 , IDENT_7 ) ; doReturn ( IDENT_6 ) . when ( c ) . call ( ) ; METHOD_1 ( eu . IDENT_1 . concurrent . IDENT_8 . e ) . when ( IDENT_4 ) . call ( ) ; doReturn ( IDENT_7 ) . when ( IDENT_9 ) . METHOD_2 ( eu . IDENT_1 . concurrent . IDENT_8 . e ) ; doReturn ( future ) . when ( IDENT_9 ) . METHOD_3 ( IDENT_5 , consumer , IDENT_10 ) ; "<AssertPlaceHolder>" ; verify ( c ) . call ( ) ; verify ( IDENT_4 ) . call ( ) ; verify ( IDENT_9 ) . METHOD_2 ( eu . IDENT_1 . concurrent . IDENT_8 . e ) ; verify ( IDENT_9 ) . METHOD_3 ( IDENT_5 , consumer , IDENT_10 ) ; } METHOD_4 ( java . util . Collection , java . util . function . IDENT_11 , java . util . function . IDENT_12 ) { final java . util . List < eu . IDENT_1 . concurrent . IDENT_2 < ? extends IDENT_13 > > IDENT_14 = new java . util . ArrayList ( IDENT_3 . size ( ) ) ; for ( final java . util . concurrent . IDENT_0 < ? extends eu . IDENT_1 . concurrent . IDENT_2 < ? extends IDENT_13 > > c : IDENT_3 ) { final eu . IDENT_1 . concurrent . IDENT_2 < ? extends IDENT_13 > IDENT_15 ; try { IDENT_15 = c . call ( ) ; } catch ( final java . lang . Exception e ) { IDENT_14 . add ( this . METHOD_2 ( e ) ) ; continue ; } IDENT_14 . add ( IDENT_15 ) ; } return METHOD_3 ( IDENT_14 , consumer , IDENT_10 ) ; }
org . junit . Assert . assertEquals ( future , IDENT_9 . METHOD_4 ( IDENT_3 , consumer , IDENT_10 ) )