METHOD_0 ( ) { final long IDENT_0 = 12 ; final long IDENT_1 = 8 ; final org . bonitasoft . engine . IDENT_2 . model . IDENT_3 IDENT_4 = mock ( org . bonitasoft . engine . IDENT_2 . model . IDENT_3 . class ) ; final java . util . List < org . bonitasoft . engine . IDENT_2 . model . IDENT_3 > IDENT_5 = java . util . Collections . singletonList ( IDENT_4 ) ; doReturn ( IDENT_5 ) . when ( IDENT_6 ) . METHOD_1 ( eq ( org . bonitasoft . engine . IDENT_2 . model . IDENT_3 . class ) , any ( org . bonitasoft . engine . persistence . IDENT_7 . class ) , eq ( ( ( java . util . Map < java . lang . String , java . lang . Object > ) ( null ) ) ) ) ; final java . util . List < org . bonitasoft . engine . IDENT_2 . model . IDENT_3 > result = IDENT_8 . METHOD_0 ( IDENT_0 , IDENT_1 , IDENT_5 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_8 ) . METHOD_2 ( IDENT_1 ) ; verify ( IDENT_8 , times ( IDENT_5 . size ( ) ) ) . METHOD_3 ( IDENT_4 ) ; verify ( IDENT_8 , times ( IDENT_5 . size ( ) ) ) . METHOD_4 ( IDENT_4 , IDENT_0 , IDENT_1 ) ; } METHOD_0 ( long , long , java . util . List ) { METHOD_2 ( IDENT_1 ) ; return METHOD_5 ( parameters , IDENT_0 , IDENT_1 ) ; }
org . junit . Assert . assertEquals ( IDENT_5 , result )