METHOD_0 ( ) { final org . apache . hc . core5 . http . protocol . IDENT_0 context = org . apache . hc . core5 . http . protocol . IDENT_0 . create ( ) ; final org . apache . hc . core5 . http . IDENT_1 request = new org . apache . hc . core5 . http . message . METHOD_1 ( org . apache . hc . core5 . http . IDENT_2 . IDENT_3 , "/" ) ; org . mockito . Mockito . when ( conn . METHOD_2 ( ) ) . thenReturn ( request ) ; org . mockito . Mockito . when ( IDENT_4 . METHOD_3 ( 200 ) ) . thenReturn ( response ) ; org . mockito . Mockito . when ( IDENT_5 . resolve ( request , context ) ) . thenReturn ( new org . apache . hc . core5 . http . io . METHOD_4 ( ) { @ org . apache . hc . core5 . http . impl . io . Override public void METHOD_5 ( final org . apache . hc . core5 . http . IDENT_1 request , final org . apache . hc . core5 . http . IDENT_6 response , final org . apache . hc . core5 . http . protocol . IDENT_7 context ) throws java . io . IOException , org . apache . hc . core5 . http . IDENT_8 { response . METHOD_6 ( IDENT_9 . IDENT_10 ) ; } } ) ; org . mockito . Mockito . when ( IDENT_11 . METHOD_7 ( request , response , context ) ) . thenReturn ( Boolean . IDENT_12 ) ; IDENT_13 . METHOD_8 ( conn , context ) ; "<AssertPlaceHolder>" ; org . mockito . Mockito . verify ( IDENT_14 ) . process ( response , response . METHOD_9 ( ) , context ) ; org . mockito . Mockito . verify ( conn ) . METHOD_10 ( response ) ; org . mockito . Mockito . verify ( conn , org . mockito . Mockito . METHOD_11 ( ) ) . METHOD_12 ( org . mockito . IDENT_15 . < org . apache . hc . core5 . http . IDENT_6 > any ( ) ) ; org . mockito . Mockito . verify ( conn ) . METHOD_13 ( ) ; org . mockito . Mockito . verify ( conn , org . mockito . Mockito . METHOD_11 ( ) ) . close ( ) ; org . mockito . Mockito . verify ( response ) . close ( ) ; } METHOD_14 ( ) { return METHOD_15 ( org . apache . hc . core5 . http . protocol . IDENT_0 . IDENT_16 , org . apache . hc . core5 . http . IDENT_17 . class ) ; }
org . junit . Assert . assertSame ( request , context . METHOD_14 ( ) )