METHOD_0 ( ) { final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . IDENT_2 . IDENT_3 IDENT_4 = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . IDENT_2 . IDENT_3 . class ) ; final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . IDENT_2 . IDENT_5 IDENT_6 = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . IDENT_2 . IDENT_5 . class ) ; final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . IDENT_2 . IDENT_5 IDENT_7 = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . IDENT_2 . IDENT_5 . class ) ; final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . IDENT_2 . IDENT_5 IDENT_8 = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . IDENT_2 . IDENT_5 . class ) ; final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_9 IDENT_10 = METHOD_1 ( STRING_0 ) ; final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_9 IDENT_11 = METHOD_1 ( STRING_1 ) ; final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_9 IDENT_12 = METHOD_1 ( STRING_2 ) ; final IDENT_13 . dom . Element IDENT_14 = METHOD_2 ( STRING_0 ) ; final IDENT_13 . dom . Element IDENT_15 = METHOD_2 ( STRING_1 ) ; final IDENT_13 . dom . Element IDENT_16 = METHOD_2 ( STRING_2 ) ; final java . util . List < org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . IDENT_2 . IDENT_5 > IDENT_17 = asList ( IDENT_6 , IDENT_7 , IDENT_8 ) ; final org . IDENT_18 . client . IDENT_19 . IDENT_20 . IDENT_21 . IDENT_22 < IDENT_13 . dom . Element > IDENT_23 = mock ( org . IDENT_18 . client . IDENT_19 . IDENT_20 . IDENT_21 . IDENT_22 . class ) ; when ( IDENT_6 . METHOD_3 ( ) ) . thenReturn ( IDENT_10 ) ; when ( IDENT_7 . METHOD_3 ( ) ) . thenReturn ( IDENT_11 ) ; when ( IDENT_8 . METHOD_3 ( ) ) . thenReturn ( IDENT_12 ) ; when ( IDENT_4 . METHOD_4 ( ) ) . thenReturn ( IDENT_17 ) ; when ( IDENT_24 . METHOD_5 ( ) ) . thenReturn ( IDENT_4 ) ; IDENT_23 . length = 3 ; when ( IDENT_23 . get ( 0 ) ) . thenReturn ( IDENT_14 ) ; when ( IDENT_23 . get ( 1 ) ) . thenReturn ( IDENT_15 ) ; when ( IDENT_23 . get ( 2 ) ) . thenReturn ( IDENT_16 ) ; doReturn ( IDENT_23 ) . when ( view ) . METHOD_6 ( ) ; final java . util . List < org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . IDENT_2 . IDENT_5 > actual = view . METHOD_7 ( ) ; final java . util . List < org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . IDENT_2 . IDENT_5 > expected = asList ( IDENT_6 , IDENT_7 , IDENT_8 ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( ) { return METHOD_8 ( ) . stream ( ) . map ( this :: IDENT_25 ) . map ( this :: IDENT_26 ) . filter ( Optional :: IDENT_27 ) . map ( Optional :: get ) . collect ( java . util . stream . IDENT_28 . toList ( ) ) ; }
org . junit . Assert . assertEquals ( expected , actual )