METHOD_0 ( ) { final org . IDENT_0 . IDENT_1 . common . IDENT_2 config = new org . IDENT_0 . IDENT_1 . common . METHOD_1 ( ) ; config . METHOD_2 ( STRING_0 ) ; final org . IDENT_0 . IDENT_1 . IDENT_3 . IDENT_4 IDENT_3 = new org . IDENT_0 . IDENT_1 . IDENT_3 . METHOD_3 ( config , IDENT_5 ) ; final java . net . URI rest = java . net . URI . create ( STRING_1 ) ; METHOD_4 ( rest , ( ( IDENT_6 ) + STRING_2 ) ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( java . net . URI ) { final java . lang . String s = uri . toString ( ) ; final java . net . URI IDENT_7 = ( s . METHOD_6 ( "/" ) ) ? java . net . URI . create ( s . substring ( 0 , ( ( s . length ( ) ) - 1 ) ) ) : uri ; try { if ( ( ( ( IDENT_7 . getPath ( ) ) == null ) || ( IDENT_7 . getPath ( ) . equals ( "" ) ) ) || ( METHOD_7 ( IDENT_7 , client ( ) , config ) ) ) { return IDENT_7 ; } else { return METHOD_5 ( java . net . URI . create ( IDENT_7 . toString ( ) . substring ( 0 , IDENT_7 . toString ( ) . METHOD_8 ( "/" ) ) ) ) ; } } catch ( org . IDENT_0 . IDENT_1 . common . IDENT_8 ex ) { return METHOD_5 ( java . net . URI . create ( IDENT_7 . toString ( ) . substring ( 0 , IDENT_7 . toString ( ) . METHOD_8 ( "/" ) ) ) ) ; } catch ( final java . io . IOException ex ) { throw new java . lang . RuntimeException ( ( STRING_3 + IDENT_7 ) , ex ) ; } catch ( final org . IDENT_0 . client . IDENT_9 ex ) { throw new java . lang . RuntimeException ( ( STRING_3 + IDENT_7 ) , ex ) ; } }
org . junit . Assert . assertEquals ( rest , IDENT_3 . METHOD_5 ( rest ) )