METHOD_0 ( ) { org . apache . http . client . methods . IDENT_0 IDENT_1 = org . mockito . Mockito . mock ( org . apache . http . client . methods . IDENT_0 . class ) ; org . mockito . Mockito . doReturn ( IDENT_1 ) . when ( IDENT_2 ) . METHOD_1 ( ) ; org . apache . http . IDENT_3 IDENT_4 = org . mockito . Mockito . mock ( org . apache . http . IDENT_3 . class ) ; java . util . ArrayList < org . apache . http . IDENT_3 > IDENT_5 = new java . util . ArrayList ( 1 ) ; IDENT_5 . add ( IDENT_4 ) ; org . mockito . Mockito . doReturn ( IDENT_5 ) . when ( IDENT_2 ) . METHOD_2 ( ) ; org . apache . http . IDENT_6 IDENT_7 = org . mockito . Mockito . mock ( org . apache . http . IDENT_6 . class ) ; org . apache . http . client . methods . IDENT_8 IDENT_9 = org . mockito . Mockito . mock ( org . apache . http . client . methods . IDENT_8 . class ) ; org . apache . http . impl . client . IDENT_10 IDENT_11 = org . mockito . Mockito . mock ( org . apache . http . impl . client . IDENT_10 . class ) ; org . mockito . Mockito . doReturn ( 200 ) . when ( IDENT_7 ) . getStatusCode ( ) ; org . mockito . Mockito . doReturn ( IDENT_7 ) . when ( IDENT_9 ) . METHOD_3 ( ) ; org . mockito . Mockito . doReturn ( IDENT_9 ) . when ( IDENT_11 ) . execute ( org . mockito . Mockito . eq ( IDENT_1 ) ) ; org . apache . http . protocol . IDENT_12 IDENT_13 = org . mockito . Mockito . mock ( org . apache . http . protocol . IDENT_12 . class ) ; org . mockito . Mockito . doReturn ( IDENT_13 ) . when ( IDENT_2 ) . METHOD_4 ( org . mockito . Mockito . eq ( IDENT_9 ) ) ; org . mockito . Mockito . doReturn ( STRING_0 ) . when ( IDENT_2 ) . METHOD_5 ( org . mockito . Mockito . eq ( IDENT_9 ) ) ; org . apache . http . protocol . IDENT_12 IDENT_14 = IDENT_2 . METHOD_6 ( IDENT_11 ) ; "<AssertPlaceHolder>" ; org . mockito . IDENT_15 IDENT_16 = org . mockito . Mockito . METHOD_7 ( IDENT_1 , IDENT_2 , IDENT_7 , IDENT_9 , IDENT_11 ) ; METHOD_7 . verify ( IDENT_2 ) . METHOD_1 ( ) ; METHOD_7 . verify ( IDENT_2 ) . METHOD_2 ( ) ; METHOD_7 . verify ( IDENT_1 ) . METHOD_8 ( org . mockito . Mockito . any ( org . apache . http . client . entity . IDENT_17 . class ) ) ; METHOD_7 . verify ( IDENT_11 ) . execute ( org . mockito . Mockito . eq ( IDENT_1 ) ) ; METHOD_7 . verify ( IDENT_9 ) . METHOD_3 ( ) ; METHOD_7 . verify ( IDENT_7 ) . getStatusCode ( ) ; METHOD_7 . verify ( IDENT_2 ) . METHOD_5 ( org . mockito . Mockito . eq ( IDENT_9 ) ) ; METHOD_7 . verify ( IDENT_2 ) . METHOD_4 ( org . mockito . Mockito . eq ( IDENT_9 ) ) ; } METHOD_6 ( org . apache . http . impl . client . IDENT_10 ) { org . apache . http . client . methods . IDENT_0 IDENT_18 = METHOD_1 ( ) ; java . util . List < org . apache . http . IDENT_3 > params = METHOD_2 ( ) ; try { org . apache . http . client . entity . IDENT_17 IDENT_19 = new org . apache . http . client . entity . METHOD_9 ( params , STRING_1 ) ; IDENT_18 . METHOD_8 ( IDENT_19 ) ; org . apache . http . client . methods . IDENT_8 IDENT_20 = IDENT_21 . execute ( IDENT_18 ) ; int IDENT_22 = IDENT_20 . METHOD_3 ( ) . getStatusCode ( ) ; if ( IDENT_22 != ( org . apache . http . IDENT_23 . IDENT_24 ) ) { throw new br . com . IDENT_25 . IDENT_26 . exceptions . METHOD_10 ( IDENT_22 , METHOD_5 ( IDENT_20 ) , STRING_2 ) ; } br . com . IDENT_25 . IDENT_26 . client . IDENT_27 . LOGGER . debug ( java . lang . String . format ( STRING_3 , METHOD_5 ( IDENT_20 ) ) ) ; return METHOD_4 ( IDENT_20 ) ; } catch ( java . io . IOException e ) { throw new br . com . IDENT_25 . IDENT_26 . exceptions . METHOD_11 ( e ) ; } }
org . junit . Assert . assertEquals ( IDENT_13 , IDENT_14 )