METHOD_0 ( ) { final org . bonitasoft . engine . core . process . IDENT_0 . model . IDENT_1 IDENT_2 = mock ( org . bonitasoft . engine . core . process . IDENT_0 . model . IDENT_1 . class ) ; doReturn ( INT_0 ) . when ( IDENT_2 ) . METHOD_1 ( ) ; final java . util . List < org . bonitasoft . engine . core . process . IDENT_0 . model . IDENT_1 > IDENT_3 = java . util . Arrays . asList ( IDENT_2 ) ; doReturn ( IDENT_3 ) . when ( IDENT_4 ) . METHOD_2 ( org . mockito . Matchers . < org . bonitasoft . engine . persistence . IDENT_5 < org . bonitasoft . engine . core . process . IDENT_0 . model . IDENT_1 > > any ( ) ) ; final long IDENT_6 = IDENT_7 . METHOD_0 ( "name" ) ; "<AssertPlaceHolder>" ; } get ( java . lang . Class ) { final T IDENT_8 = org . bonitasoft . engine . builder . IDENT_9 . getInstance ( ) . METHOD_3 ( clazz ) ; if ( IDENT_8 == null ) { throw new java . lang . RuntimeException ( ( STRING_0 + clazz ) ) ; } return IDENT_8 ; }
org . junit . Assert . assertEquals ( IDENT_3 . get ( 0 ) . METHOD_1 ( ) , IDENT_6 )