METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String expResult = STRING_1 ; java . lang . String result = org . IDENT_1 . IDENT_2 . web . IDENT_3 . IDENT_4 . METHOD_1 ( IDENT_0 ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String ) { IDENT_0 = IDENT_0 . trim ( ) . toLowerCase ( Locale . IDENT_5 ) ; java . lang . StringBuilder result = new java . lang . StringBuilder ( ) ; org . IDENT_1 . IDENT_2 . web . IDENT_3 . IDENT_6 IDENT_7 = new org . IDENT_1 . IDENT_2 . web . IDENT_3 . METHOD_2 ( IDENT_0 , STRING_2 ) ; while ( IDENT_7 . METHOD_3 ( ) ) { java . lang . String IDENT_8 = IDENT_7 . METHOD_4 ( ) ; int index ; org . IDENT_1 . IDENT_2 . web . IDENT_3 . List < java . lang . String > IDENT_9 = new org . IDENT_1 . IDENT_2 . web . IDENT_3 . ArrayList < java . lang . String > ( ) ; while ( ( index = IDENT_8 . indexOf ( STRING_3 ) ) != ( - 1 ) ) { java . lang . String IDENT_10 = IDENT_8 . substring ( 0 , index ) ; IDENT_8 = IDENT_8 . substring ( ( index + 3 ) ) ; IDENT_10 = org . IDENT_1 . IDENT_2 . web . IDENT_3 . IDENT_4 . METHOD_5 ( IDENT_10 ) ; IDENT_9 . add ( IDENT_10 ) ; } IDENT_8 = org . IDENT_1 . IDENT_2 . web . IDENT_3 . IDENT_4 . METHOD_5 ( IDENT_8 ) ; IDENT_9 . add ( IDENT_8 ) ; org . IDENT_1 . IDENT_2 . web . IDENT_3 . Collections . METHOD_6 ( IDENT_9 ) ; org . IDENT_1 . IDENT_2 . web . IDENT_3 . Collections . METHOD_7 ( IDENT_9 ) ; for ( int i = 0 ; i < ( IDENT_9 . size ( ) ) ; i ++ ) { if ( i != 0 ) { result . append ( STRING_4 ) ; } java . lang . String IDENT_10 = IDENT_9 . get ( i ) ; result . append ( IDENT_10 ) ; } if ( IDENT_7 . METHOD_3 ( ) ) { result . append ( STRING_5 ) ; } } return result . toString ( ) ; }
org . junit . Assert . assertEquals ( expResult , result )