METHOD_0 ( ) { final java . lang . String key = STRING_0 ; final java . lang . String expected = STRING_1 ; java . util . Properties properties = new java . util . Properties ( ) ; properties . setProperty ( key , expected ) ; final java . lang . String original = ( STRING_2 + key ) + STRING_3 ; final java . lang . String actual = org . IDENT_0 . common . lang . IDENT_1 . METHOD_1 ( original , new org . IDENT_0 . common . property . METHOD_2 ( properties ) ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( java . lang . String , org . IDENT_0 . common . property . IDENT_2 [ ] ) { if ( str != null ) { org . IDENT_0 . common . property . IDENT_2 resolver = org . IDENT_0 . common . property . IDENT_3 . METHOD_3 ( IDENT_4 ) ; boolean IDENT_5 = false ; while ( true ) { java . util . regex . IDENT_6 IDENT_7 = org . IDENT_0 . common . lang . IDENT_1 . IDENT_8 . matcher ( str ) ; if ( IDENT_7 . find ( ) ) { str = IDENT_7 . replaceAll ( org . IDENT_0 . common . lang . IDENT_1 . IDENT_9 ) ; IDENT_5 = true ; } java . util . regex . IDENT_6 IDENT_10 = org . IDENT_0 . common . lang . IDENT_1 . IDENT_11 . matcher ( str ) ; if ( ! ( IDENT_10 . find ( ) ) ) { break ; } int IDENT_12 = IDENT_10 . start ( ) ; int IDENT_13 = ( IDENT_10 . end ( ) ) - 1 ; java . lang . String IDENT_14 = str . substring ( ( IDENT_12 + 2 ) , IDENT_13 ) ; java . lang . String IDENT_15 ; java . lang . String IDENT_16 ; java . util . regex . IDENT_6 IDENT_17 = org . IDENT_0 . common . lang . IDENT_1 . IDENT_18 . matcher ( IDENT_14 ) ; if ( IDENT_17 . find ( ) ) { int IDENT_19 = ( IDENT_17 . start ( ) ) + 1 ; IDENT_15 = IDENT_14 . substring ( 0 , IDENT_19 ) ; IDENT_16 = IDENT_14 . substring ( ( IDENT_19 + 1 ) , IDENT_14 . length ( ) ) ; } else { IDENT_15 = IDENT_14 ; IDENT_16 = null ; } java . lang . Object IDENT_20 = resolver . METHOD_4 ( IDENT_15 ) ; if ( IDENT_20 == null ) { IDENT_20 = IDENT_16 ; } java . lang . String IDENT_21 ; if ( IDENT_20 != null ) { IDENT_21 = IDENT_20 . toString ( ) ; } else { IDENT_21 = ( ( org . IDENT_0 . common . lang . IDENT_1 . IDENT_9 ) + IDENT_15 ) + ( org . IDENT_0 . common . lang . IDENT_1 . IDENT_22 ) ; IDENT_5 = true ; } str = new java . lang . StringBuilder ( ) . append ( str . substring ( 0 , IDENT_12 ) ) . append ( IDENT_21 ) . append ( str . substring ( ( IDENT_13 + 1 ) , str . length ( ) ) ) . toString ( ) ; } if ( IDENT_5 ) { str = str . replaceAll ( org . IDENT_0 . common . lang . IDENT_1 . IDENT_23 , org . IDENT_0 . common . lang . IDENT_1 . IDENT_24 ) ; } } return str ; }
org . junit . Assert . assertEquals ( expected , actual )