METHOD_0 ( ) { final org . bonitasoft . engine . persistence . IDENT_0 options = new org . bonitasoft . engine . persistence . METHOD_1 ( 0 , 10 ) ; final long IDENT_1 = 9 ; when ( IDENT_2 . METHOD_2 ( org . bonitasoft . engine . core . process . IDENT_3 . model . IDENT_4 . class , STRING_0 , options , java . util . Collections . METHOD_3 ( STRING_1 , ( ( java . lang . Object ) ( IDENT_1 ) ) ) ) ) . thenReturn ( 1L ) ; final long result = IDENT_5 . METHOD_0 ( IDENT_1 , 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_3 ( org . bonitasoft . engine . core . process . IDENT_3 . IDENT_6 , ( ( java . lang . Object ) ( IDENT_1 ) ) ) ; return IDENT_2 . METHOD_2 ( org . bonitasoft . engine . core . process . IDENT_3 . model . IDENT_4 . class , STRING_0 , IDENT_7 , parameters ) ; }
org . junit . Assert . assertEquals ( 1L , result )