METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . utils . IDENT_2 . IDENT_3 IDENT_4 = new org . IDENT_0 . IDENT_1 . utils . IDENT_2 . METHOD_1 ( ) ; java . lang . String expected = STRING_0 ; java . lang . String IDENT_5 = STRING_1 ; IDENT_5 = IDENT_4 . METHOD_2 ( IDENT_5 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { java . io . IDENT_6 reader = null ; try { final java . io . InputStream in = org . IDENT_0 . IDENT_1 . utils . IDENT_2 . METHOD_1 . class . getResource ( STRING_2 ) . METHOD_3 ( ) ; reader = new java . io . METHOD_4 ( new java . io . METHOD_5 ( in ) ) ; } catch ( final java . io . IOException e ) { org . IDENT_0 . IDENT_1 . utils . IDENT_2 . METHOD_1 . LOG . error ( STRING_3 , e ) ; } if ( reader != null ) { try { java . lang . String line = null ; while ( ( line = reader . METHOD_6 ( ) ) != null ) { final java . lang . String [ ] split = line . split ( STRING_4 ) ; if ( ( split . length ) == 2 ) { IDENT_7 . put ( split [ 0 ] , split [ 1 ] ) ; } else { org . IDENT_0 . IDENT_1 . utils . IDENT_2 . METHOD_1 . LOG . warn ( ( STRING_5 + line ) ) ; } } } catch ( final java . io . IOException e ) { org . IDENT_0 . IDENT_1 . utils . IDENT_2 . METHOD_1 . LOG . error ( e . METHOD_7 ( ) , e ) ; } } final java . lang . String IDENT_8 = STRING_6 ; final java . util . IDENT_9 IDENT_10 = new java . util . METHOD_8 ( text , IDENT_8 , true ) ; final java . lang . StringBuffer sb = new java . lang . StringBuffer ( ) ; while ( IDENT_10 . METHOD_9 ( ) ) { final java . lang . String token = IDENT_10 . METHOD_10 ( ) ; if ( ( ! ( token . equals ( " " ) ) ) && ( IDENT_8 . contains ( token ) ) ) { sb . append ( " " ) ; } else if ( ( token . startsWith ( STRING_7 ) ) || ( token . startsWith ( STRING_8 ) ) ) { final java . lang . String [ ] split = token . split ( STRING_9 ) ; sb . append ( " " ) ; for ( int i = 0 ; i < ( split . length ) ; i ++ ) { final java . lang . String s = split [ i ] ; if ( ( ! ( s . startsWith ( STRING_7 ) ) ) && ( ! ( s . startsWith ( STRING_8 ) ) ) ) { sb . append ( s ) ; if ( ( i + 1 ) < ( split . length ) ) { sb . append ( " " ) ; } } } } else if ( ( IDENT_7 . get ( token . toLowerCase ( ) ) ) != null ) { final char [ ] IDENT_11 = new char [ token . length ( ) ] ; java . util . Arrays . METHOD_11 ( IDENT_11 , STRING_10 ) ; sb . append ( IDENT_11 , 0 , token . length ( ) ) ; } else { sb . append ( token ) ; } } return sb . toString ( ) ; }
org . junit . Assert . assertEquals ( IDENT_5 , expected )