METHOD_0 ( ) { java . lang . String input = STRING_0 ; java . lang . String expected = STRING_1 ; java . lang . String result = IDENT_0 . METHOD_1 ( input ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { if ( ( IDENT_1 == null ) || ( ( IDENT_1 . length ( ) ) == 0 ) ) { return IDENT_1 ; } java . lang . StringBuilder sb = new java . lang . StringBuilder ( IDENT_1 . length ( ) ) ; try { org . IDENT_2 . IDENT_3 . IDENT_4 IDENT_3 = new org . IDENT_2 . IDENT_3 . METHOD_2 ( IDENT_1 ) ; org . IDENT_2 . Node node ; while ( ( node = IDENT_3 . METHOD_3 ( ) ) != null ) { boolean IDENT_5 = node instanceof org . IDENT_2 . nodes . IDENT_6 ; if ( IDENT_5 ) { java . lang . String text = node . METHOD_4 ( ) ; if ( ( ( text . indexOf ( STRING_2 ) ) > ( - 1 ) ) || ( ( text . indexOf ( STRING_3 ) ) > ( - 1 ) ) ) { text = org . apache . commons . lang . StringUtils . replace ( text , STRING_4 , STRING_5 ) ; text = org . apache . commons . lang . StringUtils . replace ( text , STRING_6 , STRING_7 ) ; text = org . apache . commons . lang . StringUtils . replace ( text , STRING_8 , STRING_9 ) ; node . METHOD_5 ( text ) ; } sb . append ( node . METHOD_4 ( ) ) ; } else if ( ( node instanceof org . IDENT_2 . IDENT_7 ) && ( this . METHOD_6 ( node ) ) ) { sb . append ( node . METHOD_4 ( ) ) ; } else { java . lang . String text = node . METHOD_4 ( ) ; text = org . apache . commons . lang . StringUtils . replace ( text , STRING_4 , STRING_5 ) ; text = org . apache . commons . lang . StringUtils . replace ( text , STRING_6 , STRING_7 ) ; sb . append ( text ) ; } } } catch ( java . lang . Exception e ) { throw new net . IDENT_8 . core . exceptions . METHOD_7 ( ( STRING_10 + e ) , e ) ; } return sb . toString ( ) ; }
org . junit . Assert . assertEquals ( expected , result )