METHOD_0 ( ) { final org . apache . hc . IDENT_0 . http . IDENT_1 route = new org . apache . hc . IDENT_0 . http . METHOD_1 ( target , null , proxy , true ) ; final org . apache . hc . IDENT_0 . http . protocol . IDENT_2 context = new org . apache . hc . IDENT_0 . http . protocol . METHOD_2 ( ) ; final org . apache . hc . core5 . http . IDENT_3 request = new org . apache . hc . IDENT_0 . http . IDENT_4 . methods . METHOD_3 ( STRING_0 ) ; final org . apache . hc . core5 . http . IDENT_5 response = new org . apache . hc . core5 . http . message . METHOD_4 ( INT_0 , STRING_1 ) ; response . METHOD_5 ( new org . apache . hc . core5 . http . io . entity . METHOD_6 ( STRING_2 ) ) ; final org . apache . hc . IDENT_0 . http . impl . IDENT_4 . IDENT_6 . IDENT_7 IDENT_8 = new org . apache . hc . IDENT_0 . http . impl . IDENT_4 . IDENT_6 . METHOD_7 ( ) ; org . mockito . Mockito . METHOD_8 ( IDENT_8 . METHOD_9 ( ) ) . when ( IDENT_9 ) . METHOD_10 ( org . mockito . Mockito . < org . apache . hc . IDENT_0 . http . protocol . METHOD_2 > any ( ) ) ; org . mockito . Mockito . when ( IDENT_9 . METHOD_11 ( ) ) . METHOD_12 ( IDENT_8 . METHOD_13 ( ) ) ; org . mockito . Mockito . when ( IDENT_9 . execute ( org . mockito . Mockito . < org . apache . hc . core5 . http . IDENT_3 > any ( ) , org . mockito . Mockito . < org . apache . hc . IDENT_0 . http . protocol . METHOD_2 > any ( ) ) ) . thenReturn ( response ) ; final org . apache . hc . IDENT_0 . http . IDENT_4 . IDENT_10 . IDENT_11 IDENT_12 = new org . apache . hc . IDENT_0 . http . IDENT_4 . IDENT_10 . METHOD_14 ( "test" , route , request , IDENT_9 , context ) ; try { exec . execute ( request , IDENT_12 , IDENT_13 ) ; } catch ( final org . apache . hc . IDENT_0 . http . impl . IDENT_14 ex ) { "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_9 ) . METHOD_15 ( ) ; org . mockito . Mockito . verify ( IDENT_9 ) . METHOD_16 ( ) ; throw ex ; } } METHOD_17 ( ) { return this . IDENT_15 ; }
org . junit . Assert . assertEquals ( STRING_2 , ex . METHOD_17 ( ) )