METHOD_0 ( ) { final org . bonitasoft . engine . IDENT_0 . IDENT_1 IDENT_2 = mock ( org . bonitasoft . engine . IDENT_0 . IDENT_1 . class ) ; when ( IDENT_2 . getName ( ) ) . thenReturn ( STRING_0 ) ; when ( IDENT_2 . METHOD_1 ( ) ) . thenReturn ( true ) ; final org . bonitasoft . engine . IDENT_0 . IDENT_1 IDENT_3 = mock ( org . bonitasoft . engine . IDENT_0 . IDENT_1 . class ) ; when ( IDENT_3 . getName ( ) ) . thenReturn ( STRING_1 ) ; when ( IDENT_3 . METHOD_1 ( ) ) . thenReturn ( false ) ; final java . util . List < org . bonitasoft . engine . IDENT_0 . IDENT_1 > IDENT_4 = new java . util . ArrayList ( ) ; IDENT_4 . add ( IDENT_2 ) ; IDENT_4 . add ( IDENT_3 ) ; IDENT_5 = METHOD_2 ( true , IDENT_4 , 2 , 2 , org . bonitasoft . engine . IDENT_0 . IDENT_6 . IDENT_7 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ) { final java . util . List < org . bonitasoft . engine . IDENT_0 . IDENT_1 > IDENT_8 = new java . util . ArrayList ( ) ; for ( org . bonitasoft . engine . IDENT_0 . IDENT_1 IDENT_9 : IDENT_4 . values ( ) ) { if ( IDENT_9 . METHOD_1 ( ) ) { IDENT_8 . add ( IDENT_9 ) ; } } return IDENT_8 ; }
org . junit . Assert . assertEquals ( 1 , IDENT_5 . METHOD_3 ( ) . size ( ) )