METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final java . lang . String IDENT_1 = STRING_1 ; final org . kie . workbench . common . IDENT_2 . client . IDENT_3 . types . common . IDENT_4 IDENT_5 = mock ( org . kie . workbench . common . IDENT_2 . client . IDENT_3 . types . common . IDENT_4 . class ) ; final org . kie . workbench . common . IDENT_2 . api . IDENT_6 . IDENT_7 . IDENT_8 IDENT_9 = mock ( org . kie . workbench . common . IDENT_2 . api . IDENT_6 . IDENT_7 . IDENT_8 . class ) ; final org . kie . workbench . common . IDENT_2 . api . property . IDENT_2 . IDENT_10 name = mock ( org . kie . workbench . common . IDENT_2 . api . property . IDENT_2 . IDENT_10 . class ) ; final java . util . List < org . kie . workbench . common . IDENT_2 . client . IDENT_3 . types . common . IDENT_4 > IDENT_11 = asList ( mock ( org . kie . workbench . common . IDENT_2 . client . IDENT_3 . types . common . IDENT_4 . class ) , mock ( org . kie . workbench . common . IDENT_2 . client . IDENT_3 . types . common . IDENT_4 . class ) ) ; when ( IDENT_5 . isValid ( ) ) . thenReturn ( true ) ; when ( IDENT_5 . METHOD_1 ( ) ) . thenReturn ( IDENT_0 ) ; when ( IDENT_12 . get ( IDENT_0 ) ) . thenReturn ( IDENT_9 ) ; when ( IDENT_9 . getName ( ) ) . thenReturn ( name ) ; when ( name . getValue ( ) ) . thenReturn ( IDENT_1 ) ; when ( IDENT_13 . METHOD_2 ( IDENT_5 , IDENT_1 ) ) . thenReturn ( IDENT_11 ) ; final java . util . List < org . kie . workbench . common . IDENT_2 . client . IDENT_3 . types . common . IDENT_4 > IDENT_14 = IDENT_15 . update ( IDENT_5 ) ; verify ( IDENT_15 ) . METHOD_3 ( IDENT_5 , IDENT_9 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . kie . workbench . common . IDENT_2 . client . IDENT_3 . types . common . IDENT_4 , org . kie . workbench . common . IDENT_2 . api . IDENT_6 . IDENT_7 . IDENT_8 ) { IDENT_13 . update ( IDENT_5 ) ; IDENT_16 . update ( IDENT_5 , IDENT_9 ) ; }
org . junit . Assert . assertEquals ( IDENT_11 , IDENT_14 )