METHOD_0 ( ) { final java . util . List < org . bonitasoft . engine . core . IDENT_0 . model . IDENT_1 > IDENT_2 = new java . util . ArrayList < org . bonitasoft . engine . core . IDENT_0 . model . IDENT_1 > ( ) ; final long IDENT_3 = INT_0 ; final int IDENT_4 = 0 ; final int IDENT_5 = 10 ; final org . bonitasoft . engine . persistence . IDENT_6 order = org . bonitasoft . engine . persistence . IDENT_6 . IDENT_7 ; doReturn ( IDENT_2 ) . when ( IDENT_8 ) . METHOD_1 ( org . bonitasoft . engine . core . IDENT_0 . persistence . IDENT_9 . METHOD_2 ( IDENT_3 , IDENT_4 , IDENT_5 , order ) ) ; final java . util . List < org . bonitasoft . engine . core . IDENT_0 . model . IDENT_1 > IDENT_10 = IDENT_11 . METHOD_0 ( IDENT_3 , IDENT_4 , IDENT_5 , order ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( long , int , int , org . bonitasoft . engine . persistence . IDENT_6 ) { final org . bonitasoft . engine . persistence . IDENT_12 < org . bonitasoft . engine . core . IDENT_0 . model . IDENT_1 > IDENT_13 = org . bonitasoft . engine . core . IDENT_0 . persistence . IDENT_9 . METHOD_2 ( IDENT_3 , IDENT_4 , IDENT_5 , order ) ; try { return IDENT_8 . METHOD_1 ( IDENT_13 ) ; } catch ( final org . bonitasoft . engine . persistence . IDENT_14 e ) { throw new org . bonitasoft . engine . core . IDENT_0 . exception . METHOD_3 ( e ) ; } }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_10 )