METHOD_0 ( ) { final long id = INT_0 ; final org . bonitasoft . engine . core . IDENT_0 . model . IDENT_1 IDENT_2 = mock ( org . bonitasoft . engine . core . IDENT_0 . model . IDENT_1 . class ) ; doReturn ( IDENT_2 ) . when ( IDENT_3 ) . METHOD_1 ( org . bonitasoft . engine . core . IDENT_0 . persistence . IDENT_4 . METHOD_2 ( id ) ) ; final org . bonitasoft . engine . core . IDENT_0 . model . IDENT_1 IDENT_0 = IDENT_5 . METHOD_2 ( id ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( java . lang . String ) { final java . util . Map < java . lang . String , java . lang . Object > parameters = java . util . Collections . METHOD_3 ( "name" , ( ( java . lang . Object ) ( IDENT_6 ) ) ) ; return new org . bonitasoft . engine . persistence . IDENT_7 < org . bonitasoft . engine . core . IDENT_0 . model . IDENT_1 > ( STRING_0 , parameters , org . bonitasoft . engine . core . IDENT_0 . model . IDENT_1 . class ) ; }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_0 )