METHOD_0 ( ) { final org . bonitasoft . engine . core . process . IDENT_0 . model . IDENT_1 IDENT_2 = mock ( org . bonitasoft . engine . core . process . IDENT_0 . model . IDENT_1 . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_3 ) . METHOD_1 ( org . mockito . Matchers . < org . bonitasoft . engine . persistence . IDENT_4 < org . bonitasoft . engine . core . process . IDENT_0 . model . IDENT_1 > > any ( ) ) ; final org . bonitasoft . engine . core . process . IDENT_0 . model . IDENT_1 result = IDENT_5 . METHOD_2 ( 2 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( long ) { final org . bonitasoft . engine . service . IDENT_6 IDENT_7 = METHOD_3 ( ) ; final org . bonitasoft . engine . core . process . IDENT_0 . IDENT_8 IDENT_9 = IDENT_7 . METHOD_4 ( ) ; try { return org . bonitasoft . engine . service . IDENT_10 . METHOD_5 ( IDENT_9 . METHOD_2 ( IDENT_11 ) ) ; } catch ( final org . bonitasoft . engine . core . process . IDENT_0 . exception . IDENT_12 e ) { throw new org . bonitasoft . engine . bpm . process . METHOD_6 ( e ) ; } catch ( final org . bonitasoft . engine . persistence . IDENT_13 e ) { throw new org . bonitasoft . engine . exception . METHOD_7 ( e ) ; } }
org . junit . Assert . assertEquals ( IDENT_2 , result )