METHOD_0 ( ) { com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . position . IDENT_4 service = new com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . position . METHOD_1 ( com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_5 . url , com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_5 . IDENT_6 ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . position . METHOD_1 IDENT_7 = METHOD_2 ( STRING_0 , service ) ; boolean IDENT_8 = IDENT_7 . METHOD_3 ( IDENT_5 . IDENT_9 , new com . IDENT_0 . IDENT_1 . IDENT_10 . IDENT_11 < java . lang . String > ( STRING_1 ) ) ; "<AssertPlaceHolder>" ; verify ( IDENT_7 . METHOD_4 ( ) , times ( 1 ) ) . execute ( any ( org . apache . http . client . methods . IDENT_12 . class ) ) ; } METHOD_3 ( java . lang . Long , com . IDENT_0 . IDENT_1 . IDENT_10 . IDENT_11 ) { org . apache . http . impl . client . IDENT_13 IDENT_14 = METHOD_4 ( ) ; try { org . apache . http . client . methods . IDENT_12 IDENT_15 = new org . apache . http . client . methods . METHOD_5 ( METHOD_6 ( IDENT_9 , IDENT_10 ) ) ; IDENT_15 . METHOD_7 ( IDENT_16 ) ; com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . position . METHOD_1 . LOG . info ( com . IDENT_0 . IDENT_1 . utils . IDENT_17 . METHOD_8 ( IDENT_15 ) ) ; org . apache . http . IDENT_18 IDENT_19 = IDENT_14 . execute ( IDENT_15 ) ; int IDENT_20 = IDENT_19 . METHOD_9 ( ) . getStatusCode ( ) ; if ( IDENT_20 == ( org . apache . http . IDENT_21 . IDENT_22 ) ) { com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . position . METHOD_1 . LOG . info ( java . lang . String . format ( STRING_2 , IDENT_10 . METHOD_10 ( ) , IDENT_9 ) ) ; return true ; } else { com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . position . METHOD_1 . LOG . warn ( java . lang . String . format ( STRING_3 , IDENT_10 . METHOD_10 ( ) , IDENT_9 , IDENT_20 ) ) ; } } catch ( java . lang . Exception ex ) { com . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . position . METHOD_1 . LOG . error ( java . lang . String . format ( STRING_4 , IDENT_10 . METHOD_10 ( ) , IDENT_9 ) , ex ) ; } finally { com . IDENT_0 . IDENT_1 . utils . IDENT_17 . METHOD_11 ( IDENT_14 ) ; } return false ; }
org . junit . Assert . assertTrue ( IDENT_8 )