METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String expected = STRING_1 ; java . lang . String result = org . eclipse . rap . rwt . internal . util . IDENT_1 . METHOD_1 ( IDENT_0 , " " ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , java . lang . String ) { java . lang . StringBuilder IDENT_2 = null ; int length = input . length ( ) ; int start = 0 ; int i = 0 ; while ( i < length ) { char ch = input . charAt ( i ) ; if ( ( ch == STRING_2 ) || ( ch == STRING_3 ) ) { if ( IDENT_2 == null ) { IDENT_2 = new java . lang . StringBuilder ( ) ; } IDENT_2 . append ( input , start , i ) ; IDENT_2 . append ( IDENT_3 ) ; if ( ( ( ch == STRING_3 ) && ( ( i + 1 ) < length ) ) && ( ( input . charAt ( ( i + 1 ) ) ) == STRING_2 ) ) { i ++ ; } start = i + 1 ; } i ++ ; } if ( IDENT_2 != null ) { IDENT_2 . append ( input , start , i ) ; return IDENT_2 . toString ( ) ; } return input ; }
org . junit . Assert . assertEquals ( expected , result )