METHOD_0 ( ) { final java . util . List < org . bonitasoft . engine . data . instance . model . IDENT_0 . IDENT_1 > IDENT_2 = java . util . Collections . emptyList ( ) ; doReturn ( IDENT_3 ) . when ( IDENT_4 ) . METHOD_1 ( ) ; doReturn ( IDENT_2 ) . when ( IDENT_3 ) . METHOD_2 ( org . mockito . Matchers . < org . bonitasoft . engine . persistence . IDENT_5 < org . bonitasoft . engine . data . instance . model . IDENT_0 . IDENT_1 > > any ( ) ) ; final java . util . List < org . bonitasoft . engine . data . instance . model . IDENT_0 . IDENT_1 > IDENT_6 = IDENT_7 . METHOD_3 ( 1 , STRING_0 , 0 , 10 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( long , java . lang . String , int , int ) { METHOD_4 ( STRING_1 ) ; try { final org . bonitasoft . engine . persistence . IDENT_8 IDENT_9 = IDENT_4 . METHOD_1 ( ) ; final java . util . Map < java . lang . String , java . lang . Object > parameters = new java . util . HashMap < java . lang . String , java . lang . Object > ( 2 ) ; parameters . put ( STRING_2 , IDENT_10 ) ; parameters . put ( STRING_3 , IDENT_11 ) ; final java . util . List < org . bonitasoft . engine . data . instance . model . IDENT_0 . IDENT_1 > IDENT_12 = IDENT_9 . METHOD_2 ( new org . bonitasoft . engine . persistence . IDENT_5 < org . bonitasoft . engine . data . instance . model . IDENT_0 . IDENT_1 > ( STRING_1 , parameters , org . bonitasoft . engine . data . instance . model . IDENT_0 . IDENT_1 . class , new org . bonitasoft . engine . persistence . METHOD_5 ( IDENT_13 , IDENT_14 ) ) ) ; METHOD_6 ( STRING_1 ) ; return IDENT_12 ; } catch ( final org . bonitasoft . engine . persistence . IDENT_15 e ) { METHOD_7 ( STRING_1 , e ) ; throw new org . bonitasoft . engine . data . instance . exception . METHOD_8 ( STRING_4 , e ) ; } }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_6 )