METHOD_0 ( ) { java . util . IDENT_0 < java . lang . String , java . lang . String > IDENT_1 = new java . util . IDENT_0 < java . lang . String , java . lang . String > ( ) ; IDENT_1 . put ( STRING_0 , STRING_1 ) ; IDENT_2 . METHOD_1 ( IDENT_1 ) ; IDENT_2 . METHOD_2 ( STRING_2 ) ; java . lang . String IDENT_3 = IDENT_2 . METHOD_3 ( null ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . Exception ) { if ( ex == null ) { org . IDENT_4 . IDENT_5 . common . exception . IDENT_6 . logger . warn ( STRING_3 ) ; return IDENT_7 ; } if ( ex instanceof org . IDENT_4 . IDENT_5 . common . exception . IDENT_8 ) { java . lang . String code = ( ( org . IDENT_4 . IDENT_5 . common . exception . IDENT_8 ) ( ex ) ) . getCode ( ) ; if ( code != null ) { return code ; } } if ( ( ( IDENT_1 ) == null ) || ( IDENT_1 . isEmpty ( ) ) ) { return IDENT_7 ; } for ( java . util . Map . Entry < java . lang . String , java . lang . String > entry : IDENT_1 . entrySet ( ) ) { java . lang . String IDENT_9 = entry . getKey ( ) ; java . lang . Class < ? > IDENT_10 = ex . getClass ( ) ; while ( IDENT_10 != ( java . lang . Object . class ) ) { if ( IDENT_10 . getName ( ) . contains ( IDENT_9 ) ) { return entry . getValue ( ) ; } IDENT_10 = IDENT_10 . METHOD_4 ( ) ; } } return IDENT_7 ; }
org . junit . Assert . assertThat ( IDENT_3 , org . hamcrest . CoreMatchers . is ( STRING_2 ) )