METHOD_0 ( ) { org . IDENT_0 . java . IDENT_1 . IDENT_2 request = mock ( org . IDENT_0 . java . IDENT_1 . IDENT_2 . class ) ; org . apache . http . client . IDENT_3 client = mock ( org . apache . http . client . IDENT_3 . class ) ; org . apache . http . IDENT_4 response = mock ( org . apache . http . IDENT_4 . class ) ; doReturn ( client ) . when ( IDENT_5 ) . METHOD_1 ( ) ; doReturn ( STRING_0 ) . when ( request ) . METHOD_2 ( ) ; doReturn ( response ) . when ( client ) . execute ( METHOD_3 ( new org . IDENT_0 . java . IDENT_1 . IDENT_6 . METHOD_4 ( STRING_1 ) ) ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( org . IDENT_0 . java . IDENT_1 . IDENT_2 ) { org . apache . http . client . IDENT_3 client = METHOD_1 ( ) ; IDENT_7 . METHOD_6 ( request . METHOD_2 ( ) ) ; org . apache . http . client . methods . IDENT_8 get = new org . apache . http . client . methods . METHOD_7 ( IDENT_7 . build ( ) ) ; try { return client . execute ( get ) ; } finally { get . METHOD_8 ( ) ; } }
org . junit . Assert . assertEquals ( response , IDENT_5 . METHOD_5 ( request ) )