METHOD_0 ( ) { METHOD_1 ( org . IDENT_0 . IDENT_1 . util . IDENT_2 . class ) ; when ( org . IDENT_0 . IDENT_1 . util . IDENT_2 . METHOD_2 ( IDENT_3 , "a" ) ) . thenReturn ( STRING_0 ) ; when ( org . IDENT_0 . IDENT_1 . util . IDENT_2 . METHOD_2 ( IDENT_3 , "b" ) ) . thenReturn ( STRING_1 ) ; java . lang . String [ ] actual = IDENT_4 . METHOD_3 ( "a" , "b" ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . util . Map , java . lang . String ) { if ( org . IDENT_0 . common . lang . IDENT_5 . METHOD_4 ( str ) ) { return str ; } java . lang . String IDENT_6 = str ; for ( Map . Entry < java . util . regex . IDENT_7 , java . lang . String > entry : IDENT_3 . entrySet ( ) ) { java . util . regex . IDENT_7 IDENT_8 = entry . getKey ( ) ; java . lang . String value = entry . getValue ( ) ; IDENT_6 = IDENT_8 . matcher ( IDENT_6 ) . replaceAll ( value ) ; } IDENT_6 = org . IDENT_0 . IDENT_1 . util . IDENT_2 . IDENT_9 . matcher ( IDENT_6 ) . replaceAll ( STRING_2 ) ; IDENT_6 = org . IDENT_0 . IDENT_1 . util . IDENT_2 . IDENT_10 . matcher ( IDENT_6 ) . replaceAll ( STRING_3 ) ; return IDENT_6 ; }
org . junit . Assert . assertArrayEquals ( new java . lang . String [ ] { STRING_0 , STRING_1 } , actual )