METHOD_0 ( ) { java . lang . String request = STRING_0 ; java . lang . String response = STRING_1 ; org . apache . IDENT_0 . IDENT_1 . impl . channel . IDENT_2 IDENT_3 = mock ( org . apache . IDENT_0 . IDENT_1 . impl . channel . IDENT_2 . class ) ; java . util . concurrent . IDENT_4 < org . apache . IDENT_0 . IDENT_1 . impl . channel . IDENT_2 > IDENT_5 = new java . util . concurrent . METHOD_1 ( ) ; when ( IDENT_6 . METHOD_2 ( ) ) . thenReturn ( IDENT_5 ) ; com . google . common . util . concurrent . IDENT_7 < java . lang . String > IDENT_8 = com . google . common . util . concurrent . IDENT_7 . create ( ) ; java . lang . Exception IDENT_9 = new java . lang . Exception ( STRING_2 ) ; when ( processor . METHOD_3 ( ) ) . thenReturn ( request ) ; when ( processor . METHOD_4 ( METHOD_5 ( IDENT_3 ) , eq ( request ) ) ) . thenReturn ( IDENT_8 ) ; when ( processor . METHOD_6 ( eq ( response ) ) ) . METHOD_7 ( IDENT_9 ) ; java . util . concurrent . METHOD_1 < java . lang . String > IDENT_10 = processor . process ( ) ; verify ( IDENT_6 , times ( 1 ) ) . METHOD_2 ( ) ; org . apache . IDENT_0 . common . concurrent . IDENT_11 . METHOD_8 ( IDENT_5 , IDENT_3 ) ; IDENT_8 . set ( response ) ; try { org . apache . IDENT_0 . common . concurrent . IDENT_11 . result ( IDENT_10 ) ; org . junit . Assert . fail ( STRING_3 ) ; } catch ( java . lang . Exception e ) { "<AssertPlaceHolder>" ; } } fail ( java . lang . Throwable ) { IDENT_12 = java . util . Optional . of ( IDENT_13 ) ; for ( java . util . concurrent . METHOD_1 < org . apache . IDENT_14 . common . util . IDENT_15 > future : IDENT_16 ) { future . METHOD_9 ( true ) ; } IDENT_16 . METHOD_10 ( ) ; }
org . junit . Assert . assertSame ( IDENT_9 , e )