METHOD_0 ( ) { when ( IDENT_0 . getStatus ( ) ) . thenReturn ( Status . IDENT_1 ) ; METHOD_1 ( new javax . transaction . METHOD_2 ( STRING_0 ) ) . when ( IDENT_0 ) . METHOD_3 ( ) ; try { IDENT_2 . METHOD_3 ( ) ; org . junit . Assert . fail ( STRING_1 ) ; } catch ( org . bonitasoft . engine . transaction . IDENT_3 e ) { verify ( IDENT_0 , times ( 1 ) ) . METHOD_3 ( ) ; "<AssertPlaceHolder>" ; } } METHOD_4 ( ) { return IDENT_4 . get ( ) ; }
org . junit . Assert . assertEquals ( 0 , IDENT_2 . METHOD_4 ( ) )