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 accept = IDENT_2 . METHOD_3 ( node , IDENT_0 , connection ) ; "<AssertPlaceHolder>" ; verify ( IDENT_4 , METHOD_4 ( ) ) . METHOD_5 ( eq ( IDENT_3 ) , eq ( IDENT_5 ) ) ; verify ( IDENT_4 , METHOD_4 ( ) ) . execute ( any ( org . kie . workbench . common . IDENT_6 . core . client . IDENT_7 . IDENT_8 . class ) , any ( org . kie . workbench . common . IDENT_6 . core . client . IDENT_7 . command . IDENT_9 . class ) ) ; } METHOD_3 ( org . kie . workbench . common . IDENT_6 . core . graph . Node , org . kie . workbench . common . IDENT_6 . core . graph . IDENT_10 , org . kie . workbench . common . IDENT_6 . core . graph . content . view . IDENT_11 ) { METHOD_6 ( ) ; if ( org . kie . workbench . common . IDENT_6 . client . IDENT_12 . IDENT_7 . IDENT_13 . IDENT_14 . METHOD_7 ( source , IDENT_15 , connection ) ) { final org . kie . workbench . common . IDENT_6 . core . command . IDENT_16 < org . kie . workbench . common . IDENT_6 . core . client . command . IDENT_17 > IDENT_18 = METHOD_8 ( ) . execute ( METHOD_9 ( ) , IDENT_19 . METHOD_10 ( source , IDENT_15 , connection ) ) ; return METHOD_11 ( IDENT_18 ) ; } return true ; }
org . junit . Assert . assertTrue ( accept )