METHOD_0 ( ) { org . apache . IDENT_0 . client . IDENT_1 . IDENT_2 client = new org . apache . IDENT_0 . client . IDENT_1 . METHOD_1 ( org . apache . IDENT_0 . client . test . IDENT_3 . IDENT_4 . config ) ; boolean result = client . METHOD_2 ( STRING_0 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { org . apache . http . client . IDENT_5 IDENT_6 = org . apache . IDENT_0 . client . util . IDENT_7 . METHOD_3 ( config ) ; java . lang . String IDENT_8 = ( ( ( config . METHOD_4 ( ) ) + ( org . apache . IDENT_0 . client . IDENT_1 . METHOD_1 . IDENT_9 ) ) + STRING_1 ) + ( java . net . IDENT_10 . encode ( IDENT_11 , STRING_2 ) ) ; org . apache . http . client . methods . IDENT_12 get = new org . apache . http . client . methods . METHOD_5 ( IDENT_8 ) ; get . METHOD_6 ( org . apache . IDENT_0 . client . IDENT_1 . IDENT_13 , IDENT_14 . IDENT_15 . METHOD_7 ( ) ) ; try { org . apache . http . IDENT_16 response = IDENT_6 . execute ( get ) ; switch ( response . METHOD_8 ( ) . getStatusCode ( ) ) { case 200 : org . apache . IDENT_0 . client . IDENT_1 . METHOD_1 . log . debug ( STRING_3 , IDENT_11 ) ; org . IDENT_17 . query . IDENT_18 . helpers . IDENT_19 results = new org . IDENT_17 . query . IDENT_18 . helpers . METHOD_9 ( ) ; org . apache . IDENT_0 . client . IDENT_1 . METHOD_1 . parse ( response . METHOD_10 ( ) . METHOD_11 ( ) , IDENT_14 . IDENT_15 , results , org . IDENT_17 . model . impl . IDENT_20 . getInstance ( ) ) ; if ( ! ( results . METHOD_12 ( ) ) ) { return false ; } else { return results . METHOD_13 ( ) ; } default : org . apache . IDENT_0 . client . IDENT_1 . METHOD_1 . log . error ( STRING_4 , new java . lang . Object [ ] { IDENT_11 , response . METHOD_8 ( ) . getStatusCode ( ) , response . METHOD_8 ( ) . METHOD_14 ( ) } ) ; throw new org . apache . IDENT_0 . client . exception . METHOD_15 ( ( ( ( ( ( STRING_5 + IDENT_11 ) + STRING_6 ) + ( response . METHOD_8 ( ) . getStatusCode ( ) ) ) + " " ) + ( response . METHOD_8 ( ) . METHOD_14 ( ) ) ) ) ; } } catch ( org . apache . IDENT_0 . client . IDENT_1 . IDENT_21 e ) { throw new org . apache . IDENT_0 . client . exception . METHOD_15 ( STRING_7 , e ) ; } catch ( org . apache . IDENT_0 . client . IDENT_1 . IDENT_22 e ) { throw new org . apache . IDENT_0 . client . exception . METHOD_15 ( STRING_7 , e ) ; } catch ( org . apache . IDENT_0 . client . IDENT_1 . IDENT_23 e ) { throw new org . apache . IDENT_0 . client . exception . METHOD_15 ( STRING_7 , e ) ; } catch ( java . lang . IllegalStateException e ) { throw new org . apache . IDENT_0 . client . exception . METHOD_15 ( STRING_7 , e ) ; } catch ( org . apache . IDENT_0 . client . IDENT_1 . IDENT_24 e ) { throw new org . apache . IDENT_0 . client . exception . METHOD_15 ( STRING_7 , e ) ; } finally { get . METHOD_16 ( ) ; } }
org . junit . Assert . assertTrue ( result )