METHOD_0 ( ) { final org . bonitasoft . engine . IDENT_0 . model . IDENT_1 IDENT_2 = mock ( org . bonitasoft . engine . IDENT_0 . model . IDENT_1 . class ) ; final org . bonitasoft . engine . persistence . IDENT_3 IDENT_4 = new org . bonitasoft . engine . persistence . METHOD_1 ( org . bonitasoft . engine . IDENT_0 . model . IDENT_1 . class , STRING_0 , org . bonitasoft . engine . persistence . IDENT_5 . IDENT_6 ) ; doReturn ( java . util . Collections . singletonList ( IDENT_2 ) ) . when ( IDENT_7 ) . METHOD_2 ( org . bonitasoft . engine . IDENT_0 . IDENT_8 . IDENT_9 . METHOD_3 ( org . bonitasoft . engine . IDENT_0 . model . IDENT_1 . class , STRING_1 , new org . bonitasoft . engine . persistence . METHOD_4 ( 0 , 10 , java . util . Collections . singletonList ( IDENT_4 ) ) ) ) ; final java . util . List < org . bonitasoft . engine . IDENT_0 . model . IDENT_1 > IDENT_10 = IDENT_11 . METHOD_5 ( 0 , 10 , IDENT_4 ) ; "<AssertPlaceHolder>" ; } get ( java . lang . Class ) { final T IDENT_12 = org . bonitasoft . engine . builder . IDENT_13 . getInstance ( ) . METHOD_6 ( clazz ) ; if ( IDENT_12 == null ) { throw new java . lang . RuntimeException ( ( STRING_2 + clazz ) ) ; } return IDENT_12 ; }
org . junit . Assert . assertEquals ( IDENT_2 , IDENT_10 . get ( 0 ) )