METHOD_0 ( ) { org . apache . IDENT_0 . IDENT_1 context = new org . apache . IDENT_0 . METHOD_1 ( ) ; context . put ( STRING_0 , STRING_1 ) ; org . xwiki . IDENT_2 . IDENT_3 . IDENT_4 IDENT_5 = new org . xwiki . IDENT_2 . IDENT_3 . METHOD_2 ( ) ; java . lang . String content = "" + ( ( ( ( STRING_2 + STRING_3 ) + STRING_4 ) + STRING_5 ) + STRING_6 ) ; java . lang . String expected = "" + ( ( ( ( STRING_2 + STRING_7 ) + STRING_4 ) + STRING_5 ) + STRING_6 ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( java . lang . String , org . apache . IDENT_0 . METHOD_1 ) { java . lang . String result = content ; for ( java . lang . Object key : IDENT_6 . METHOD_3 ( ) ) { java . lang . Object value = IDENT_6 . get ( key . toString ( ) ) ; result = org . IDENT_7 . IDENT_8 . util . StringUtils . replace ( result , java . lang . String . format ( STRING_8 , key . toString ( ) ) , value . toString ( ) ) ; } return result ; }
org . junit . Assert . assertEquals ( expected , IDENT_5 . METHOD_0 ( content , context ) )