METHOD_0 ( ) { doReturn ( IDENT_0 ) . when ( IDENT_1 ) . METHOD_1 ( ) ; doReturn ( java . util . Collections . emptyList ( ) ) . when ( IDENT_0 ) . METHOD_2 ( org . mockito . Matchers . < org . bonitasoft . engine . persistence . IDENT_2 < org . bonitasoft . engine . data . instance . model . IDENT_3 . IDENT_4 > > any ( ) ) ; final java . util . List < org . bonitasoft . engine . data . instance . model . IDENT_3 . IDENT_4 > IDENT_5 = IDENT_6 . 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_7 IDENT_8 = IDENT_1 . 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_9 ) ; parameters . put ( STRING_3 , IDENT_10 ) ; final java . util . List < org . bonitasoft . engine . data . instance . model . IDENT_3 . IDENT_4 > IDENT_11 = IDENT_8 . METHOD_2 ( new org . bonitasoft . engine . persistence . IDENT_2 < org . bonitasoft . engine . data . instance . model . IDENT_3 . IDENT_4 > ( STRING_1 , parameters , org . bonitasoft . engine . data . instance . model . IDENT_3 . IDENT_4 . class , new org . bonitasoft . engine . persistence . METHOD_5 ( IDENT_12 , IDENT_13 ) ) ) ; METHOD_6 ( STRING_1 ) ; return IDENT_11 ; } catch ( final org . bonitasoft . engine . persistence . IDENT_14 e ) { METHOD_7 ( STRING_1 , e ) ; throw new org . bonitasoft . engine . data . instance . exception . METHOD_8 ( STRING_4 , e ) ; } }
org . junit . Assert . assertEquals ( java . util . Collections . emptyList ( ) , IDENT_5 )