METHOD_0 ( ) { java . lang . String text = STRING_0 ; java . lang . String actual = gov . IDENT_0 . IDENT_1 . doc . xml . IDENT_2 . IDENT_3 . METHOD_1 ( text ) ; java . lang . String expect = STRING_1 ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { java . lang . StringBuffer IDENT_4 = new java . lang . StringBuffer ( ) ; java . util . regex . IDENT_5 matcher = gov . IDENT_0 . IDENT_1 . doc . xml . IDENT_6 . IDENT_7 . matcher ( IDENT_8 ) ; while ( matcher . find ( ) ) { java . lang . String IDENT_9 = matcher . group ( 1 ) ; java . lang . String IDENT_10 = matcher . group ( 2 ) ; IDENT_9 = IDENT_9 . trim ( ) ; IDENT_9 = IDENT_9 . replaceAll ( STRING_2 , STRING_3 ) ; IDENT_9 = IDENT_9 . replaceAll ( STRING_4 , "" ) ; if ( IDENT_10 == null ) { IDENT_10 = STRING_5 ; } else { IDENT_10 = IDENT_10 . trim ( ) ; } java . lang . String IDENT_11 ; try { IDENT_11 = METHOD_2 ( IDENT_10 , IDENT_9 ) ; if ( IDENT_11 != null ) { matcher . METHOD_3 ( IDENT_4 , IDENT_11 . toString ( ) ) ; } } catch ( java . text . IDENT_12 e ) { if ( gov . IDENT_0 . IDENT_1 . doc . xml . IDENT_6 . LOGGER . METHOD_4 ( ) ) { gov . IDENT_0 . IDENT_1 . doc . xml . IDENT_6 . LOGGER . warn ( STRING_6 , matcher . group ( 0 ) , e ) ; } else { gov . IDENT_0 . IDENT_1 . doc . xml . IDENT_6 . LOGGER . warn ( STRING_7 , matcher . group ( 0 ) , e . getMessage ( ) ) ; } } } matcher . METHOD_5 ( IDENT_4 ) ; return IDENT_4 . toString ( ) ; }
org . junit . Assert . assertEquals ( expect , actual )