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 java . lang . String field = STRING_0 ; final org . bonitasoft . engine . persistence . IDENT_3 order = org . bonitasoft . engine . persistence . IDENT_3 . IDENT_4 ; final int IDENT_5 = 0 ; final int IDENT_6 = 1 ; doReturn ( IDENT_2 ) . when ( IDENT_7 ) . METHOD_1 ( org . bonitasoft . engine . core . IDENT_0 . persistence . IDENT_8 . METHOD_0 ( field , order , IDENT_5 , IDENT_6 ) ) ; final java . util . List < org . bonitasoft . engine . core . IDENT_0 . model . IDENT_1 > IDENT_9 = IDENT_10 . METHOD_0 ( IDENT_5 , IDENT_6 , field , order ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( java . lang . String , org . bonitasoft . engine . persistence . IDENT_3 , int , int ) { final java . util . Map < java . lang . String , java . lang . Object > parameters = java . util . Collections . METHOD_2 ( ) ; final org . bonitasoft . engine . persistence . IDENT_11 IDENT_12 = new org . bonitasoft . engine . persistence . METHOD_3 ( IDENT_5 , IDENT_13 , org . bonitasoft . engine . core . IDENT_0 . model . IDENT_1 . class , field , order ) ; return new org . bonitasoft . engine . persistence . IDENT_14 < org . bonitasoft . engine . core . IDENT_0 . model . IDENT_1 > ( STRING_1 , parameters , org . bonitasoft . engine . core . IDENT_0 . model . IDENT_1 . class , IDENT_12 ) ; }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_9 )