METHOD_0 ( ) { final org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 IDENT_3 = mock ( org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 . class ) ; final java . util . List < org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 > IDENT_4 = asList ( mock ( org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 . class ) , mock ( org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 . class ) ) ; when ( IDENT_3 . METHOD_1 ( ) ) . thenReturn ( IDENT_4 ) ; final java . util . List < org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 > IDENT_5 = org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_6 . common . IDENT_7 . METHOD_2 ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 ) { final java . util . Optional < org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 > IDENT_8 = java . util . Optional . METHOD_3 ( IDENT_3 ) ; return IDENT_8 . map ( IDENT_2 :: METHOD_1 ) . METHOD_4 ( emptyList ( ) ) ; }
org . junit . Assert . assertEquals ( IDENT_4 , IDENT_5 )