METHOD_0 ( ) { java . util . Map < java . lang . String , java . lang . String [ ] > IDENT_0 = new java . util . HashMap ( ) ; IDENT_0 . put ( IDENT_1 . IDENT_2 , new java . lang . String [ ] { STRING_0 } ) ; javax . servlet . http . IDENT_3 req = org . mockito . Mockito . mock ( javax . servlet . http . IDENT_3 . class ) ; org . mockito . Mockito . when ( req . METHOD_1 ( ) ) . thenReturn ( IDENT_0 ) ; java . lang . String url = STRING_1 ; java . lang . String IDENT_4 = STRING_2 ; java . lang . String key = STRING_0 ; java . lang . Object obj = org . IDENT_5 . IDENT_6 . IDENT_7 . METHOD_2 ( req , url , IDENT_4 , key ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( javax . servlet . http . IDENT_3 , java . lang . String , java . lang . String , java . lang . String ) { net . IDENT_8 . IDENT_9 IDENT_10 = net . IDENT_8 . server . IDENT_11 . getMessage ( request , URL ) ; java . lang . String IDENT_12 = null ; try { IDENT_12 = IDENT_10 . METHOD_3 ( ) ; } catch ( java . lang . Exception e ) { return STRING_3 ; } if ( ( IDENT_13 != null ) && ( ! ( IDENT_13 . equals ( IDENT_12 ) ) ) ) { log . warn ( STRING_4 , IDENT_12 , IDENT_13 ) ; return STRING_5 + IDENT_12 ; } net . IDENT_8 . IDENT_14 IDENT_15 = new net . IDENT_8 . METHOD_4 ( ) ; net . IDENT_8 . IDENT_16 IDENT_17 = new net . IDENT_8 . METHOD_5 ( STRING_6 , IDENT_12 , IDENT_18 , null ) ; net . IDENT_8 . IDENT_19 IDENT_20 = new net . IDENT_8 . METHOD_6 ( IDENT_17 ) ; java . lang . String IDENT_21 = null ; try { IDENT_21 = net . IDENT_8 . IDENT_22 . IDENT_23 . METHOD_7 ( IDENT_10 ) ; } catch ( java . lang . Exception e ) { return STRING_7 ; } try { IDENT_15 . METHOD_2 ( IDENT_10 , IDENT_20 ) ; } catch ( java . lang . Exception e ) { if ( IDENT_21 != null ) { return ( ( STRING_8 + ( e . METHOD_8 ( ) ) ) + STRING_9 ) + IDENT_21 ; } return STRING_8 + ( e . METHOD_8 ( ) ) ; } return Boolean . IDENT_24 ; }
org . junit . Assert . assertEquals ( STRING_7 , obj )