METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . common . exception . IDENT_2 IDENT_3 = new org . IDENT_0 . IDENT_1 . common . exception . METHOD_1 ( org . IDENT_0 . IDENT_1 . common . message . IDENT_4 . error ( ) . add ( STRING_0 , STRING_1 , STRING_2 ) ) ; when ( IDENT_5 . METHOD_2 ( ) ) . METHOD_3 ( IDENT_3 ) ; try { IDENT_6 . invoke ( IDENT_5 ) ; org . junit . Assert . fail ( STRING_3 ) ; } catch ( org . IDENT_0 . IDENT_1 . common . exception . METHOD_1 e ) { "<AssertPlaceHolder>" ; verify ( IDENT_7 , times ( 1 ) ) . warn ( IDENT_3 ) ; verify ( IDENT_7 , times ( 1 ) ) . warn ( any ( org . IDENT_0 . IDENT_1 . common . exception . Exception . class ) ) ; } } invoke ( org . IDENT_8 . IDENT_9 . IDENT_10 ) { if ( ( IDENT_11 . get ( ) ) == null ) { IDENT_11 . set ( IDENT_12 ) ; } try { return IDENT_12 . METHOD_2 ( ) ; } catch ( org . IDENT_0 . IDENT_1 . common . exception . IDENT_13 e ) { if ( METHOD_4 ( IDENT_12 ) ) { METHOD_5 ( e ) ; } throw e ; } finally { if ( METHOD_4 ( IDENT_12 ) ) { IDENT_11 . remove ( ) ; } } }
org . junit . Assert . assertThat ( e , org . hamcrest . CoreMatchers . is ( IDENT_3 ) )