METHOD_0 ( ) { final org . kie . workbench . common . IDENT_0 . core . client . session . IDENT_1 IDENT_2 = mock ( org . kie . workbench . common . IDENT_0 . core . client . session . IDENT_1 . class ) ; final org . kie . workbench . common . IDENT_0 . core . client . IDENT_3 . IDENT_4 IDENT_5 = mock ( org . kie . workbench . common . IDENT_0 . core . client . IDENT_3 . IDENT_4 . class ) ; final org . kie . workbench . common . IDENT_0 . core . IDENT_6 . IDENT_7 IDENT_6 = mock ( org . kie . workbench . common . IDENT_0 . core . IDENT_6 . IDENT_7 . class ) ; final java . util . Optional < org . kie . workbench . common . IDENT_0 . core . graph . IDENT_8 > expected = java . util . Optional . of ( mock ( org . kie . workbench . common . IDENT_0 . core . graph . IDENT_8 . class ) ) ; when ( IDENT_6 . METHOD_1 ( ) ) . thenReturn ( expected . get ( ) ) ; when ( IDENT_5 . METHOD_2 ( ) ) . thenReturn ( IDENT_6 ) ; when ( IDENT_2 . METHOD_3 ( ) ) . thenReturn ( IDENT_5 ) ; when ( IDENT_9 . METHOD_4 ( ) ) . thenReturn ( IDENT_2 ) ; final java . util . Optional < org . kie . workbench . common . IDENT_0 . core . graph . IDENT_8 < ? , org . kie . workbench . common . IDENT_0 . core . graph . Node > > actual = IDENT_10 . METHOD_1 ( ) ; "<AssertPlaceHolder>" ; } METHOD_1 ( ) { return METHOD_5 ( ) . map ( ( ( java . util . function . IDENT_11 < org . kie . workbench . common . IDENT_0 . core . client . IDENT_3 . IDENT_4 , org . kie . workbench . common . IDENT_0 . core . IDENT_6 . IDENT_7 > ) ( IDENT_4 :: METHOD_2 ) ) ) . map ( IDENT_7 :: METHOD_1 ) ; }
org . junit . Assert . assertEquals ( expected , actual )