METHOD_0 ( ) { class IDENT_0 extends java . lang . Thread { MOD_0 java . util . concurrent . IDENT_1 < java . lang . Integer , java . util . concurrent . IDENT_2 < org . IDENT_3 . IDENT_4 . IDENT_5 . message . Response > > IDENT_6 ; public org . IDENT_3 . IDENT_4 . IDENT_5 . message . Response response ; public METHOD_1 ( java . util . concurrent . IDENT_1 < java . lang . Integer , java . util . concurrent . IDENT_2 < org . IDENT_3 . IDENT_4 . IDENT_5 . message . Response > > IDENT_6 , org . IDENT_3 . IDENT_4 . IDENT_5 . message . Response response ) { this . IDENT_6 = IDENT_6 ; this . response = response ; } public void run ( ) { try { java . lang . Thread . sleep ( 100 ) ; } catch ( java . lang . IDENT_7 e ) { e . printStackTrace ( ) ; } java . util . concurrent . IDENT_2 < org . IDENT_3 . IDENT_4 . IDENT_5 . message . Response > IDENT_8 = this . IDENT_6 . remove ( 0 ) ; try { IDENT_8 . METHOD_2 ( this . response , INT_0 , TimeUnit . IDENT_9 ) ; } catch ( java . lang . IDENT_7 e ) { e . printStackTrace ( ) ; } } } org . IDENT_3 . IDENT_4 . IDENT_5 . message . Response IDENT_10 = org . mockito . Mockito . mock ( org . IDENT_3 . IDENT_4 . IDENT_5 . message . Response . class ) ; java . util . concurrent . IDENT_1 < java . lang . Integer , java . util . concurrent . IDENT_2 < org . IDENT_3 . IDENT_4 . IDENT_5 . message . Response > > IDENT_6 = ( ( java . util . concurrent . IDENT_1 < java . lang . Integer , java . util . concurrent . IDENT_2 < org . IDENT_3 . IDENT_4 . IDENT_5 . message . Response > > ) ( org . IDENT_11 . reflect . IDENT_12 . METHOD_3 ( target , STRING_0 ) ) ) ; METHOD_1 IDENT_13 = new METHOD_1 ( IDENT_6 , IDENT_10 ) ; org . IDENT_3 . IDENT_4 . IDENT_5 . message . IDENT_14 IDENT_15 = org . mockito . Mockito . mock ( org . IDENT_3 . IDENT_4 . IDENT_5 . message . IDENT_14 . class ) ; IDENT_13 . start ( ) ; org . IDENT_3 . IDENT_4 . IDENT_5 . message . Response IDENT_16 = target . METHOD_4 ( IDENT_15 ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . IDENT_3 . IDENT_4 . IDENT_5 . message . IDENT_14 ) { return METHOD_4 ( request , null ) ; }
org . junit . Assert . assertThat ( IDENT_16 , org . hamcrest . CoreMatchers . is ( IDENT_10 ) )