METHOD_0 ( ) { final eu . IDENT_0 . concurrent . IDENT_1 < eu . IDENT_0 . concurrent . IDENT_2 . IDENT_3 > future = new eu . IDENT_0 . concurrent . METHOD_1 ( IDENT_4 , from ) ; doReturn ( future ) . when ( IDENT_5 ) . apply ( eu . IDENT_0 . concurrent . IDENT_2 . IDENT_6 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . util . function . IDENT_7 , java . lang . Throwable ) { try { return IDENT_8 . apply ( IDENT_6 ) ; } catch ( final java . lang . Exception e ) { return METHOD_3 ( e , IDENT_6 ) ; } }
org . junit . Assert . assertThat ( base . METHOD_2 ( IDENT_5 , eu . IDENT_0 . concurrent . IDENT_2 . IDENT_6 ) , org . hamcrest . core . Is . is ( future ) )