METHOD_0 ( ) { org . apache . http . client . methods . IDENT_0 request = new org . apache . http . client . methods . METHOD_1 ( STRING_0 ) ; org . apache . http . IDENT_1 r = org . mockito . Mockito . mock ( org . apache . http . IDENT_1 . class , Mockito . IDENT_2 ) ; when ( r . METHOD_2 ( ) . getStatusCode ( ) ) . thenReturn ( INT_0 ) ; when ( r . METHOD_3 ( ) . METHOD_4 ( ) ) . thenReturn ( null ) ; when ( r . METHOD_3 ( ) . METHOD_5 ( ) ) . thenReturn ( null ) ; when ( IDENT_3 . execute ( request ) ) . thenReturn ( r ) ; ac . IDENT_4 . IDENT_5 . IDENT_6 IDENT_7 = new ac . IDENT_4 . IDENT_5 . METHOD_6 ( IDENT_3 , null , new java . util . ArrayList ( ) , null ) ; "<AssertPlaceHolder>" ; verify ( IDENT_3 ) . execute ( request ) ; } METHOD_7 ( org . apache . http . client . methods . METHOD_1 ) { java . io . InputStream IDENT_8 = null ; try { final org . apache . http . IDENT_1 IDENT_9 = this . IDENT_10 . execute ( request ) ; if ( ( IDENT_9 . METHOD_2 ( ) . getStatusCode ( ) ) != ( org . apache . http . IDENT_11 . IDENT_12 ) ) { ac . IDENT_4 . IDENT_5 . METHOD_6 . LOGGER . warn ( STRING_1 , request . METHOD_8 ( ) . toString ( ) , IDENT_9 . METHOD_2 ( ) . getStatusCode ( ) , org . apache . http . util . IDENT_13 . toString ( IDENT_9 . METHOD_3 ( ) ) ) ; } else { IDENT_8 = IDENT_9 . METHOD_3 ( ) . METHOD_4 ( ) ; } } catch ( java . io . IOException ex ) { ac . IDENT_4 . IDENT_5 . METHOD_6 . LOGGER . warn ( STRING_2 , request . METHOD_8 ( ) . toString ( ) , ex . getMessage ( ) ) ; } return IDENT_8 ; }
org . junit . Assert . assertNull ( IDENT_7 . METHOD_7 ( request ) )