METHOD_0 ( ) { final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . IDENT_2 IDENT_3 = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . IDENT_2 . class ) ; final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . IDENT_2 IDENT_4 = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . IDENT_2 . class ) ; final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . IDENT_2 IDENT_5 = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . IDENT_2 . class ) ; final java . util . List < org . kie . workbench . common . IDENT_0 . client . IDENT_1 . IDENT_2 > values = java . util . Arrays . asList ( IDENT_3 , IDENT_4 , IDENT_5 ) ; when ( IDENT_3 . getType ( ) ) . thenReturn ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . tree . IDENT_6 ) ; when ( IDENT_4 . getType ( ) ) . thenReturn ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . tree . IDENT_7 ) ; when ( IDENT_5 . getType ( ) ) . thenReturn ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . tree . IDENT_8 ) ; when ( IDENT_9 . values ( ) ) . thenReturn ( values ) ; final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . IDENT_2 IDENT_10 = IDENT_11 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( ) { return METHOD_2 ( ) . values ( ) . stream ( ) . filter ( ( i ) -> ( i . getType ( ) ) == org . kie . workbench . common . IDENT_0 . client . IDENT_1 . tree . IDENT_6 ) . METHOD_3 ( ) . METHOD_4 ( RuntimeException :: new ) ; }
org . junit . Assert . assertEquals ( IDENT_3 , IDENT_10 )