METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final org . kie . workbench . common . IDENT_1 . api . IDENT_2 . IDENT_3 . IDENT_4 parent = mock ( org . kie . workbench . common . IDENT_1 . api . IDENT_2 . IDENT_3 . IDENT_4 . class ) ; when ( parent . METHOD_1 ( ) ) . thenReturn ( null ) ; when ( IDENT_5 . get ( IDENT_0 ) ) . thenReturn ( parent ) ; final java . util . Optional < org . kie . workbench . common . IDENT_1 . api . IDENT_2 . IDENT_3 . IDENT_4 > IDENT_6 = handler . METHOD_2 ( IDENT_0 ) ; final java . util . Optional < org . kie . workbench . common . IDENT_1 . api . IDENT_2 . IDENT_3 . IDENT_4 > IDENT_7 = java . util . Optional . of ( parent ) ; "<AssertPlaceHolder>" ; } of ( java . util . function . IDENT_8 ) { return new org . kie . workbench . common . IDENT_9 . core . util . IDENT_10 < IDENT_11 > ( IDENT_12 ) ; }
org . junit . Assert . assertEquals ( IDENT_7 , IDENT_6 )