METHOD_0 ( ) { final com . google . IDENT_0 . event . shared . IDENT_1 IDENT_2 = mock ( com . google . IDENT_0 . event . shared . IDENT_1 . class ) ; final com . IDENT_3 . IDENT_4 . client . core . event . IDENT_5 [ ] IDENT_6 = new com . IDENT_3 . IDENT_4 . client . core . event . IDENT_5 [ 1 ] ; METHOD_1 ( ( IDENT_7 ) -> { IDENT_6 [ 0 ] = ( ( com . IDENT_3 . IDENT_4 . client . core . event . IDENT_5 ) ( IDENT_7 . METHOD_2 ( ) [ 0 ] ) ) ; IDENT_6 [ 0 ] . METHOD_3 ( mock ( . class ) ) ; return IDENT_2 ; } ) . when ( IDENT_8 ) . METHOD_4 ( any ( com . IDENT_3 . IDENT_4 . client . core . event . IDENT_5 . class ) ) ; org . kie . workbench . common . IDENT_9 . core . client . IDENT_10 . IDENT_11 . connection . IDENT_12 control = mock ( org . kie . workbench . common . IDENT_9 . core . client . IDENT_10 . IDENT_11 . connection . IDENT_12 . class ) ; org . kie . workbench . common . IDENT_9 . client . IDENT_4 . IDENT_10 . IDENT_11 . IDENT_13 . IDENT_14 IDENT_15 = METHOD_5 ( control ) ; boolean IDENT_16 = IDENT_15 . add ( IDENT_17 , 1 , new com . IDENT_3 . IDENT_4 . client . core . types . METHOD_6 ( 2 , 2 ) ) ; "<AssertPlaceHolder>" ; verify ( IDENT_17 , times ( 1 ) ) . METHOD_7 ( eq ( 2.0 ) , eq ( 2.0 ) , eq ( 1 ) ) ; verify ( control , times ( 1 ) ) . METHOD_7 ( eq ( IDENT_18 ) , eq ( org . kie . workbench . common . IDENT_9 . core . graph . content . view . IDENT_19 . build ( 2 , 2 ) ) , eq ( 0 ) ) ; } METHOD_5 ( org . kie . workbench . common . IDENT_9 . core . client . IDENT_10 . IDENT_11 . connection . IDENT_12 ) { java . util . function . IDENT_20 < java . lang . String , org . kie . workbench . common . IDENT_9 . core . graph . IDENT_21 > IDENT_22 = ( IDENT_23 ) -> IDENT_23 . equals ( org . kie . workbench . common . IDENT_9 . client . IDENT_4 . IDENT_10 . IDENT_11 . IDENT_24 . IDENT_25 ) ? IDENT_18 : null ; return new org . kie . workbench . common . IDENT_9 . client . IDENT_4 . IDENT_10 . IDENT_11 . IDENT_13 . METHOD_8 ( IDENT_26 , IDENT_22 ) ; }
org . junit . Assert . assertTrue ( IDENT_16 )