METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . IDENT_2 processor = org . IDENT_0 . IDENT_1 . IDENT_3 . getInstance ( ) . METHOD_1 ( STRING_0 ) ; java . lang . String expected = IDENT_4 . replaceAll ( STRING_1 , "" ) . toLowerCase ( ) ; if ( ! ( expected . METHOD_2 ( STRING_2 ) ) ) { expected = expected + STRING_2 ; } java . lang . String actual = processor . process ( IDENT_4 ) . replaceAll ( STRING_1 , "" ) . toLowerCase ( ) ; "<AssertPlaceHolder>" ; } process ( java . lang . IDENT_5 ) { if ( ( source != null ) && ( ( source . length ( ) ) > 0 ) ) { java . lang . String IDENT_6 = ( source instanceof java . lang . String ) ? ( ( java . lang . String ) ( source ) ) : source . toString ( ) ; int [ ] IDENT_7 = new int [ IDENT_8 . length ] ; java . util . Arrays . METHOD_3 ( IDENT_7 , ( - 1 ) ) ; int length = source . length ( ) ; int offset = 0 ; java . lang . StringBuilder result = new java . lang . StringBuilder ( length ) ; while ( offset < length ) { int IDENT_9 = - 1 ; int IDENT_10 = - 1 ; for ( int i = 0 ; i < ( IDENT_8 . length ) ; i ++ ) { int index ; if ( ( IDENT_7 [ i ] ) < offset ) { index = IDENT_6 . indexOf ( IDENT_8 [ i ] [ 0 ] , offset ) ; IDENT_7 [ i ] = index ; } else { index = IDENT_7 [ i ] ; } if ( ( index >= 0 ) && ( ( index < IDENT_9 ) || ( IDENT_9 < 0 ) ) ) { IDENT_9 = index ; IDENT_10 = i ; } } if ( IDENT_9 >= 0 ) { result . append ( IDENT_6 , offset , IDENT_9 ) ; result . append ( IDENT_8 [ IDENT_10 ] [ 1 ] ) ; offset = IDENT_9 + ( IDENT_8 [ IDENT_10 ] [ 0 ] . length ( ) ) ; } else { result . append ( IDENT_6 , offset , length ) ; offset = length ; } } return result ; } else { return new java . lang . StringBuilder ( 0 ) ; } }
org . junit . Assert . assertEquals ( expected , actual )