METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final java . lang . String IDENT_1 = METHOD_1 ( STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { org . apache . http . client . methods . IDENT_2 request = null ; try { request = new org . apache . http . client . methods . METHOD_2 ( url ) ; final org . apache . http . IDENT_3 IDENT_4 = client . execute ( request ) ; final int IDENT_5 = IDENT_4 . METHOD_3 ( ) . getStatusCode ( ) ; if ( ( IDENT_5 != INT_0 ) && ( IDENT_5 != INT_1 ) ) { return url ; } final org . apache . http . IDENT_6 [ ] headers = IDENT_4 . METHOD_4 ( IDENT_7 . IDENT_8 ) ; com . google . common . base . IDENT_9 . METHOD_5 ( ( ( headers . length ) == 1 ) ) ; return headers [ 0 ] . getValue ( ) ; } catch ( final java . lang . IllegalArgumentException IDENT_10 ) { return url ; } finally { if ( request != null ) { request . METHOD_6 ( ) ; } } }
org . junit . Assert . assertThat ( IDENT_1 , org . hamcrest . Matchers . equalTo ( IDENT_0 ) )