METHOD_0 ( ) { control . init ( IDENT_0 ) ; final com . IDENT_1 . IDENT_2 . client . core . IDENT_3 . IDENT_4 . IDENT_5 IDENT_6 = METHOD_1 ( org . kie . workbench . common . IDENT_7 . IDENT_8 . client . IDENT_9 . IDENT_10 . IDENT_11 . IDENT_12 ) ; final com . IDENT_1 . IDENT_2 . client . core . IDENT_3 . IDENT_4 . IDENT_5 IDENT_13 = METHOD_1 ( org . kie . workbench . common . IDENT_7 . IDENT_8 . client . IDENT_9 . IDENT_10 . IDENT_11 . IDENT_14 ) ; final org . kie . workbench . common . IDENT_7 . IDENT_8 . client . IDENT_3 . view . IDENT_15 IDENT_16 = METHOD_1 ( org . kie . workbench . common . IDENT_7 . IDENT_8 . client . IDENT_9 . IDENT_10 . IDENT_11 . IDENT_14 ) ; state . METHOD_2 ( java . util . Optional . of ( IDENT_16 ) ) ; IDENT_6 . add ( IDENT_16 ) ; final boolean IDENT_17 = control . IDENT_18 . METHOD_3 ( IDENT_6 , new com . IDENT_1 . IDENT_2 . client . core . IDENT_3 . IDENT_4 . IDENT_5 [ ] { IDENT_13 } ) ; "<AssertPlaceHolder>" ; verify ( IDENT_19 , times ( 1 ) ) . METHOD_4 ( any ( org . kie . workbench . common . IDENT_7 . core . graph . Node . class ) , any ( org . kie . workbench . common . IDENT_7 . core . graph . Node . class ) , eq ( java . util . IDENT_20 . of ( 0 ) ) , eq ( java . util . Optional . empty ( ) ) , eq ( java . util . IDENT_20 . empty ( ) ) ) ; } METHOD_3 ( com . IDENT_1 . IDENT_2 . client . core . IDENT_3 . IDENT_4 . IDENT_21 , com . IDENT_1 . IDENT_2 . client . core . IDENT_3 . IDENT_4 . IDENT_5 [ ] ) { if ( ( state . METHOD_5 ( ) . METHOD_6 ( ) ) && ( METHOD_7 ( IDENT_22 , IDENT_23 ) ) ) { final org . kie . workbench . common . IDENT_7 . IDENT_8 . client . IDENT_3 . view . IDENT_15 container = ( ( org . kie . workbench . common . IDENT_7 . IDENT_8 . client . IDENT_3 . view . IDENT_15 ) ( IDENT_22 ) ) ; final org . kie . workbench . common . IDENT_7 . IDENT_8 . client . IDENT_3 . view . IDENT_15 IDENT_16 = state . METHOD_5 ( ) . get ( ) ; final int index = container . METHOD_8 ( IDENT_16 ) ; if ( index >= 0 ) { final java . util . IDENT_20 IDENT_24 = java . util . IDENT_20 . of ( index ) ; final java . util . Optional < com . IDENT_1 . IDENT_2 . client . core . IDENT_3 . IDENT_4 . IDENT_21 > IDENT_25 = state . METHOD_9 ( ) ; final java . util . IDENT_20 IDENT_26 = state . METHOD_10 ( ) ; final org . kie . workbench . common . IDENT_7 . core . command . IDENT_27 < org . kie . workbench . common . IDENT_7 . core . client . command . IDENT_28 > result = METHOD_11 ( ) . execute ( METHOD_12 ( ) , METHOD_13 ( IDENT_23 [ 0 ] , IDENT_22 , IDENT_24 , IDENT_25 , IDENT_26 ) ) ; return ! ( org . kie . workbench . common . IDENT_7 . core . command . util . IDENT_29 . METHOD_14 ( result ) ) ; } } return false ; }
org . junit . Assert . assertTrue ( IDENT_17 )