METHOD_0 ( ) { final java . lang . String manager = STRING_0 ; final org . bonitasoft . engine . IDENT_0 . IDENT_1 IDENT_2 = METHOD_1 ( ) . METHOD_2 ( manager ) ; final java . util . List < org . bonitasoft . engine . IDENT_0 . IDENT_1 > IDENT_3 = METHOD_1 ( ) . METHOD_3 ( 0 , 10 , IDENT_4 . IDENT_5 ) ; "<AssertPlaceHolder>" ; METHOD_1 ( ) . METHOD_4 ( IDENT_2 . getId ( ) ) ; } METHOD_3 ( int , int , org . bonitasoft . engine . IDENT_0 . IDENT_4 ) { final org . bonitasoft . engine . service . IDENT_6 IDENT_7 = METHOD_5 ( ) ; final org . bonitasoft . engine . IDENT_0 . IDENT_8 IDENT_9 = IDENT_7 . METHOD_6 ( ) ; final org . bonitasoft . engine . IDENT_0 . model . builder . IDENT_10 IDENT_11 = org . bonitasoft . engine . builder . IDENT_12 . get ( org . bonitasoft . engine . IDENT_0 . model . builder . IDENT_10 . class ) ; java . lang . String field = null ; org . bonitasoft . engine . persistence . IDENT_13 order = null ; switch ( IDENT_14 ) { case IDENT_5 : field = IDENT_11 . METHOD_7 ( ) ; order = org . bonitasoft . engine . persistence . IDENT_13 . IDENT_15 ; break ; case IDENT_16 : field = IDENT_11 . METHOD_7 ( ) ; order = org . bonitasoft . engine . persistence . IDENT_13 . IDENT_17 ; break ; case IDENT_18 : field = IDENT_11 . METHOD_8 ( ) ; order = org . bonitasoft . engine . persistence . IDENT_13 . IDENT_15 ; break ; case IDENT_19 : field = IDENT_11 . METHOD_8 ( ) ; order = org . bonitasoft . engine . persistence . IDENT_13 . IDENT_17 ; break ; default : throw new java . lang . IllegalStateException ( ) ; } try { final org . bonitasoft . engine . api . impl . transaction . IDENT_0 . IDENT_20 IDENT_21 = new org . bonitasoft . engine . api . impl . transaction . IDENT_0 . METHOD_9 ( IDENT_9 , IDENT_22 , IDENT_23 , field , order ) ; IDENT_21 . execute ( ) ; return org . bonitasoft . engine . service . IDENT_24 . METHOD_10 ( IDENT_21 . METHOD_11 ( ) ) ; } catch ( final org . bonitasoft . engine . commons . exceptions . IDENT_25 e ) { throw new org . bonitasoft . engine . exception . METHOD_12 ( e ) ; } }
org . junit . Assert . assertEquals ( 1 , IDENT_3 . size ( ) )