METHOD_0 ( ) { final long IDENT_0 = 10 ; final org . bonitasoft . engine . persistence . IDENT_1 options = new org . bonitasoft . engine . persistence . METHOD_1 ( 0 , 10 ) ; final java . util . Map < java . lang . String , java . lang . Object > parameters = java . util . Collections . METHOD_2 ( STRING_0 , ( ( java . lang . Object ) ( IDENT_0 ) ) ) ; when ( IDENT_2 . METHOD_3 ( org . bonitasoft . engine . core . process . instance . model . IDENT_3 . class , STRING_1 , options , parameters ) ) . thenReturn ( 1L ) ; final long result = IDENT_4 . METHOD_0 ( IDENT_0 , options ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( long , org . bonitasoft . engine . persistence . METHOD_1 ) { final java . util . Map < java . lang . String , java . lang . Object > parameters = java . util . Collections . METHOD_2 ( STRING_0 , IDENT_0 ) ; return METHOD_4 ( ) . METHOD_3 ( org . bonitasoft . engine . core . process . instance . model . IDENT_3 . class , org . bonitasoft . engine . core . process . instance . impl . IDENT_5 . IDENT_6 , IDENT_7 , parameters ) ; }
org . junit . Assert . assertEquals ( 1L , result )