METHOD_0 ( ) { final org . apache . hc . IDENT_0 . http . IDENT_1 route = new org . apache . hc . IDENT_0 . http . METHOD_1 ( target ) ; 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 . IDENT_0 . http . IDENT_3 . methods . IDENT_4 request = new org . apache . hc . IDENT_0 . http . IDENT_3 . methods . METHOD_3 ( STRING_0 ) ; final java . io . InputStream IDENT_5 = new java . io . ByteArrayInputStream ( new byte [ ] { 1 , 2 , 3 } ) ; request . METHOD_4 ( org . apache . hc . IDENT_0 . http . entity . IDENT_6 . create ( ) . METHOD_5 ( IDENT_5 ) . build ( ) ) ; final org . apache . hc . core5 . http . IDENT_7 IDENT_8 = new org . apache . hc . core5 . http . message . METHOD_6 ( INT_0 , STRING_1 ) ; IDENT_8 . METHOD_7 ( IDENT_9 . IDENT_10 , STRING_2 ) ; final java . io . InputStream IDENT_11 = new java . io . ByteArrayInputStream ( new byte [ ] { 1 , 2 , 3 } ) ; IDENT_8 . METHOD_4 ( org . apache . hc . IDENT_0 . http . entity . IDENT_6 . create ( ) . METHOD_5 ( IDENT_11 ) . build ( ) ) ; final org . apache . hc . IDENT_0 . http . impl . auth . IDENT_12 IDENT_13 = new org . apache . hc . IDENT_0 . http . impl . auth . METHOD_8 ( ) ; IDENT_13 . METHOD_9 ( new org . apache . hc . IDENT_0 . http . auth . METHOD_10 ( target ) , new org . apache . hc . IDENT_0 . http . auth . METHOD_11 ( STRING_3 , STRING_4 . METHOD_12 ( ) ) ) ; context . METHOD_13 ( IDENT_13 ) ; org . mockito . Mockito . when ( IDENT_14 . METHOD_14 ( org . mockito . Mockito . METHOD_15 ( request ) , org . mockito . Mockito . < org . apache . hc . IDENT_0 . http . IDENT_3 . IDENT_15 . IDENT_16 > any ( ) ) ) . METHOD_16 ( new org . mockito . IDENT_17 . IDENT_18 < org . apache . hc . core5 . http . IDENT_19 > ( ) { @ org . apache . hc . IDENT_0 . http . impl . IDENT_3 . Override public org . apache . hc . core5 . http . IDENT_19 METHOD_17 ( final org . mockito . IDENT_20 . IDENT_21 IDENT_22 ) throws java . lang . Throwable { final java . lang . Object [ ] args = IDENT_22 . METHOD_18 ( ) ; final org . apache . hc . core5 . http . IDENT_23 IDENT_24 = ( ( org . apache . hc . core5 . http . IDENT_23 ) ( args [ 0 ] ) ) ; IDENT_24 . METHOD_19 ( ) . METHOD_20 ( new java . io . ByteArrayOutputStream ( ) ) ; return IDENT_8 ; } } ) ; org . mockito . Mockito . when ( IDENT_25 . select ( org . mockito . Mockito . eq ( IDENT_26 . IDENT_27 ) , org . mockito . Mockito . < java . util . Map < java . lang . String , org . apache . hc . IDENT_0 . http . auth . IDENT_28 > > any ( ) , org . mockito . Mockito . < org . apache . hc . IDENT_0 . http . protocol . METHOD_2 > any ( ) ) ) . thenReturn ( java . util . Collections . < org . apache . hc . IDENT_0 . http . auth . IDENT_29 > singletonList ( new org . apache . hc . IDENT_0 . http . impl . auth . METHOD_21 ( ) ) ) ; final org . apache . hc . IDENT_0 . http . IDENT_3 . IDENT_15 . IDENT_16 IDENT_30 = new org . apache . hc . IDENT_0 . http . IDENT_3 . IDENT_15 . METHOD_22 ( "test" , route , request , IDENT_31 , context ) ; final org . apache . hc . core5 . http . IDENT_7 response = IDENT_32 . execute ( request , IDENT_30 , IDENT_14 ) ; "<AssertPlaceHolder>" ; } getCode ( ) { return response . getCode ( ) ; }
org . junit . Assert . assertEquals ( INT_0 , response . getCode ( ) )