METHOD_0 ( ) { when ( IDENT_0 . METHOD_1 ( ) ) . thenReturn ( node ) ; when ( IDENT_1 . METHOD_2 ( ) ) . thenReturn ( java . util . Optional . of ( connection ) ) ; IDENT_2 . init ( IDENT_3 ) ; final boolean IDENT_4 = IDENT_2 . METHOD_3 ( node , IDENT_0 , connection ) ; "<AssertPlaceHolder>" ; verify ( IDENT_5 , METHOD_4 ( ) ) . METHOD_5 ( eq ( IDENT_3 ) , eq ( IDENT_6 ) ) ; verify ( IDENT_5 , METHOD_4 ( ) ) . execute ( any ( org . kie . workbench . common . IDENT_7 . core . client . IDENT_8 . IDENT_9 . class ) , any ( org . kie . workbench . common . IDENT_7 . core . client . IDENT_8 . command . IDENT_10 . class ) ) ; } METHOD_3 ( org . kie . workbench . common . IDENT_7 . core . graph . Node , org . kie . workbench . common . IDENT_7 . core . graph . IDENT_11 , org . kie . workbench . common . IDENT_7 . core . graph . content . view . IDENT_12 ) { if ( org . kie . workbench . common . IDENT_7 . client . IDENT_13 . IDENT_8 . IDENT_14 . IDENT_15 . METHOD_6 ( source , IDENT_16 , connection ) ) { final org . kie . workbench . common . IDENT_7 . core . command . IDENT_17 < org . kie . workbench . common . IDENT_7 . core . client . command . IDENT_18 > IDENT_19 = METHOD_7 ( ) . METHOD_5 ( METHOD_8 ( ) , IDENT_20 . METHOD_9 ( source , IDENT_16 , connection ) ) ; final boolean IDENT_21 = METHOD_10 ( IDENT_19 ) ; METHOD_11 ( source , IDENT_16 , IDENT_21 ) ; return IDENT_21 ; } return true ; }
org . junit . Assert . assertTrue ( METHOD_5 )