METHOD_0 ( ) { final org . drools . workbench . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_3 . page . IDENT_4 . IDENT_5 . Type type = IDENT_5 . Type . IDENT_6 ; final org . drools . workbench . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_3 . page . IDENT_4 . IDENT_5 IDENT_7 = mock ( org . drools . workbench . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_3 . page . IDENT_4 . IDENT_5 . class ) ; final java . util . List < org . drools . workbench . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_3 . page . IDENT_4 . IDENT_5 > IDENT_8 = METHOD_1 ( new java . util . ArrayList ( ) ) ; when ( IDENT_4 . METHOD_2 ( ) ) . thenReturn ( IDENT_7 ) ; when ( IDENT_4 . METHOD_3 ( ) ) . thenReturn ( IDENT_8 ) ; final org . drools . workbench . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_3 . page . IDENT_4 . IDENT_5 item = IDENT_4 . METHOD_4 ( type ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . drools . workbench . IDENT_0 . IDENT_1 . IDENT_2 . client . IDENT_3 . page . IDENT_4 . IDENT_9 ) { return METHOD_3 ( ) . stream ( ) . filter ( ( item ) -> ( item . getType ( ) ) == type ) . METHOD_5 ( ) . METHOD_6 ( METHOD_2 ( ) ) ; }
org . junit . Assert . assertEquals ( IDENT_7 , item )