METHOD_0 ( ) { org . IDENT_0 . api . util . IDENT_1 IDENT_2 = new org . IDENT_0 . api . util . METHOD_1 ( ) ; try { IDENT_2 . METHOD_0 ( ) ; org . junit . Assert . fail ( STRING_0 ) ; } catch ( javax . IDENT_3 . context . IDENT_4 e ) { } try { javax . IDENT_5 . context . IDENT_6 IDENT_7 = org . mockito . Mockito . mock ( javax . IDENT_5 . context . IDENT_6 . class ) ; org . IDENT_0 . api . util . IDENT_8 . IDENT_9 . METHOD_2 ( IDENT_7 ) ; "<AssertPlaceHolder>" ; } finally { org . IDENT_0 . api . util . IDENT_8 . IDENT_9 . METHOD_2 ( null ) ; } } METHOD_0 ( ) { javax . IDENT_5 . context . IDENT_6 ctx = javax . IDENT_5 . context . IDENT_6 . METHOD_3 ( ) ; if ( ctx == null ) { throw new javax . IDENT_3 . context . METHOD_4 ( STRING_1 ) ; } return ctx ; }
org . junit . Assert . assertEquals ( IDENT_7 , IDENT_2 . METHOD_0 ( ) )