METHOD_0 ( ) { final java . lang . String name = STRING_0 ; final org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 . IDENT_3 IDENT_4 = METHOD_1 ( STRING_0 ) ; final org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 . IDENT_3 IDENT_5 = METHOD_1 ( STRING_1 ) ; final org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 . IDENT_6 IDENT_7 = mock ( org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 . IDENT_6 . class ) ; final java . util . List < org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 . IDENT_3 > IDENT_8 = asList ( IDENT_4 , IDENT_5 ) ; when ( IDENT_9 . METHOD_2 ( ) ) . thenReturn ( IDENT_7 ) ; when ( IDENT_7 . METHOD_3 ( ) ) . thenReturn ( IDENT_8 ) ; final java . util . Optional < org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 . IDENT_3 > actual = utils . METHOD_4 ( name ) ; final java . util . Optional < org . kie . workbench . common . IDENT_0 . api . IDENT_1 . IDENT_2 . IDENT_3 > expected = java . util . Optional . of ( IDENT_4 ) ; "<AssertPlaceHolder>" ; } of ( java . util . function . IDENT_10 ) { return new org . kie . workbench . common . IDENT_11 . core . util . IDENT_12 < IDENT_13 > ( IDENT_14 ) ; }
org . junit . Assert . assertEquals ( expected , actual )