METHOD_0 ( ) { final java . util . List < org . bonitasoft . engine . command . model . IDENT_0 > IDENT_1 = new java . util . ArrayList < org . bonitasoft . engine . command . model . IDENT_0 > ( ) ; final org . bonitasoft . engine . persistence . IDENT_2 options = mock ( org . bonitasoft . engine . persistence . IDENT_2 . class ) ; when ( persistence . METHOD_1 ( org . bonitasoft . engine . command . model . IDENT_0 . class , options , null ) ) . thenReturn ( IDENT_1 ) ; final java . util . List < org . bonitasoft . engine . command . model . IDENT_0 > METHOD_0 = IDENT_3 . METHOD_0 ( options ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( org . bonitasoft . engine . persistence . IDENT_2 ) { final boolean trace = logger . METHOD_2 ( getClass ( ) , IDENT_4 . IDENT_5 ) ; if ( trace ) { logger . log ( this . getClass ( ) , IDENT_4 . IDENT_5 , org . bonitasoft . engine . commons . IDENT_6 . METHOD_3 ( this . getClass ( ) , STRING_0 ) ) ; } try { final java . util . List < org . bonitasoft . engine . command . model . IDENT_0 > commands = IDENT_7 . METHOD_1 ( org . bonitasoft . engine . command . model . IDENT_0 . class , options , null ) ; if ( trace ) { logger . log ( this . getClass ( ) , IDENT_4 . IDENT_5 , org . bonitasoft . engine . commons . IDENT_6 . METHOD_4 ( this . getClass ( ) , STRING_0 ) ) ; } return commands ; } catch ( final org . bonitasoft . engine . persistence . IDENT_8 IDENT_9 ) { if ( trace ) { logger . log ( this . getClass ( ) , IDENT_4 . IDENT_5 , org . bonitasoft . engine . commons . IDENT_6 . METHOD_5 ( this . getClass ( ) , STRING_0 , IDENT_9 ) ) ; } throw new org . bonitasoft . engine . persistence . METHOD_6 ( IDENT_9 ) ; } }
org . junit . Assert . assertEquals ( IDENT_1 , METHOD_0 )