METHOD_0 ( ) { final org . IDENT_0 . core . context . IDENT_1 context = org . IDENT_0 . core . context . IDENT_1 . create ( ) ; context . METHOD_1 ( STRING_0 ) ; final java . lang . String result = new org . IDENT_0 . core . http . url . METHOD_2 ( ) . compute ( org . IDENT_0 . core . http . url . IDENT_2 , context ) ; "<AssertPlaceHolder>" ; } compute ( java . lang . String , org . IDENT_0 . core . context . IDENT_3 ) { if ( this . IDENT_4 ) { final boolean IDENT_5 = ( ( url != null ) && ( ! ( url . startsWith ( IDENT_6 . IDENT_7 ) ) ) ) && ( ! ( url . startsWith ( IDENT_6 . IDENT_8 ) ) ) ; if ( ( context != null ) && IDENT_5 ) { final java . lang . StringBuilder sb = new java . lang . StringBuilder ( ) ; sb . append ( context . METHOD_3 ( ) ) . append ( STRING_1 ) . append ( context . METHOD_4 ( ) ) ; final boolean IDENT_9 = ( org . IDENT_0 . core . context . IDENT_10 . METHOD_5 ( context ) ) && ( ( context . METHOD_6 ( ) ) != ( org . IDENT_0 . core . context . IDENT_6 . IDENT_11 ) ) ; final boolean IDENT_12 = ( org . IDENT_0 . core . context . IDENT_10 . METHOD_7 ( context ) ) && ( ( context . METHOD_6 ( ) ) != ( org . IDENT_0 . core . context . IDENT_6 . IDENT_13 ) ) ; if ( IDENT_9 || IDENT_12 ) { sb . append ( STRING_2 ) . append ( context . METHOD_6 ( ) ) ; } sb . append ( ( url . startsWith ( "/" ) ? url : "/" + url ) ) ; return sb . toString ( ) ; } } return url ; }
org . junit . Assert . assertEquals ( org . IDENT_0 . core . http . url . IDENT_2 , result )