METHOD_0 ( ) { java . util . Map < java . lang . String , java . lang . Object > parameters = new java . util . HashMap ( ) ; parameters . put ( STRING_0 , 1L ) ; parameters . put ( STRING_1 , STRING_2 ) ; parameters . put ( STRING_3 , STRING_4 ) ; java . util . List < org . bonitasoft . engine . core . process . instance . model . IDENT_0 > IDENT_1 = java . util . Arrays . asList ( mock ( org . bonitasoft . engine . core . process . instance . model . IDENT_0 . class ) , mock ( org . bonitasoft . engine . core . process . instance . model . IDENT_0 . class ) ) ; METHOD_1 ( IDENT_2 . METHOD_2 ( new org . bonitasoft . engine . persistence . IDENT_3 < org . bonitasoft . engine . core . process . instance . model . IDENT_0 > ( STRING_5 , parameters , org . bonitasoft . engine . core . process . instance . model . IDENT_0 . class , new org . bonitasoft . engine . persistence . METHOD_3 ( 0 , 100 , org . bonitasoft . engine . core . process . instance . model . IDENT_0 . class , STRING_6 , org . bonitasoft . engine . persistence . IDENT_4 . IDENT_5 ) ) ) ) . METHOD_4 ( IDENT_1 ) ; java . util . List < org . bonitasoft . engine . core . process . instance . model . IDENT_0 > IDENT_6 = IDENT_7 . METHOD_5 ( 1L , STRING_2 , STRING_4 , 0 , 100 ) ; "<AssertPlaceHolder>" . METHOD_6 ( IDENT_1 ) ; } METHOD_5 ( long , java . lang . String , java . lang . String , int , int ) { final java . util . Map < java . lang . String , java . lang . Object > IDENT_8 = new java . util . HashMap ( 3 ) ; IDENT_8 . put ( STRING_0 , IDENT_9 ) ; IDENT_8 . put ( STRING_1 , IDENT_10 ) ; IDENT_8 . put ( STRING_3 , state ) ; final org . bonitasoft . engine . persistence . IDENT_3 < org . bonitasoft . engine . core . process . instance . model . IDENT_0 > IDENT_11 = new org . bonitasoft . engine . persistence . METHOD_7 ( STRING_5 , IDENT_8 , org . bonitasoft . engine . core . process . instance . model . IDENT_0 . class , new org . bonitasoft . engine . persistence . METHOD_3 ( from , IDENT_12 , org . bonitasoft . engine . core . process . instance . model . IDENT_0 . class , STRING_6 , org . bonitasoft . engine . persistence . IDENT_4 . IDENT_5 ) ) ; try { return IDENT_13 . METHOD_2 ( IDENT_11 ) ; } catch ( final org . bonitasoft . engine . persistence . IDENT_14 e ) { throw new org . bonitasoft . engine . core . IDENT_15 . exception . METHOD_8 ( e ) ; } }
org . junit . Assert . assertThat ( IDENT_6 )