METHOD_0 ( ) { final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 IDENT_3 = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 . class ) ; final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 IDENT_4 = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 . class ) ; final org . kie . workbench . common . IDENT_0 . api . IDENT_5 . IDENT_6 . IDENT_7 IDENT_8 = mock ( org . kie . workbench . common . IDENT_0 . api . IDENT_5 . IDENT_6 . IDENT_7 . class ) ; final java . util . List < org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 > IDENT_9 = asList ( mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 . class ) , mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 . class ) ) ; when ( IDENT_10 . update ( IDENT_4 ) ) . thenReturn ( IDENT_9 ) ; doReturn ( IDENT_4 ) . when ( handler ) . METHOD_1 ( IDENT_3 , org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . persistence . IDENT_11 . IDENT_12 , IDENT_8 ) ; final java . util . List < org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 > IDENT_13 = handler . append ( IDENT_3 , IDENT_8 ) ; "<AssertPlaceHolder>" ; } append ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 , org . kie . workbench . common . IDENT_0 . api . IDENT_5 . IDENT_6 . IDENT_7 ) { final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 IDENT_14 = METHOD_1 ( IDENT_3 , org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . persistence . IDENT_11 . IDENT_12 , IDENT_8 ) ; return IDENT_10 . update ( IDENT_14 ) ; }
org . junit . Assert . assertEquals ( IDENT_9 , IDENT_13 )