METHOD_0 ( ) { final org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 reference = mock ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 . class ) ; final org . kie . workbench . common . IDENT_0 . api . IDENT_3 . IDENT_4 . IDENT_5 IDENT_6 = mock ( org . kie . workbench . common . IDENT_0 . api . IDENT_3 . IDENT_4 . IDENT_5 . class ) ; final org . kie . workbench . common . IDENT_0 . api . IDENT_3 . IDENT_4 . IDENT_5 item = mock ( org . kie . workbench . common . IDENT_0 . api . IDENT_3 . IDENT_4 . IDENT_5 . class ) ; final java . util . List < org . kie . workbench . common . IDENT_0 . api . IDENT_3 . IDENT_4 . IDENT_5 > IDENT_7 = new java . util . ArrayList < org . kie . workbench . common . IDENT_0 . api . IDENT_3 . IDENT_4 . IDENT_5 > ( ) { { add ( item ) ; add ( item ) ; add ( IDENT_6 ) ; add ( item ) ; } } ; final java . lang . String IDENT_8 = STRING_0 ; when ( reference . METHOD_1 ( ) ) . thenReturn ( IDENT_8 ) ; when ( IDENT_9 . get ( IDENT_8 ) ) . thenReturn ( IDENT_6 ) ; doReturn ( IDENT_7 ) . when ( handler ) . METHOD_2 ( reference ) ; final org . kie . workbench . common . IDENT_0 . api . IDENT_3 . IDENT_4 . IDENT_5 IDENT_10 = handler . METHOD_3 ( reference , org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . persistence . IDENT_11 . IDENT_12 ) ; final java . util . List < org . kie . workbench . common . IDENT_0 . api . IDENT_3 . IDENT_4 . IDENT_5 > IDENT_13 = asList ( item , item , IDENT_6 , IDENT_10 , item ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . common . IDENT_2 , org . kie . workbench . common . IDENT_0 . client . IDENT_1 . types . persistence . IDENT_11 ) { final org . kie . workbench . common . IDENT_0 . api . IDENT_3 . IDENT_4 . IDENT_5 IDENT_10 = new org . kie . workbench . common . IDENT_0 . api . IDENT_3 . IDENT_4 . METHOD_4 ( ) ; final org . kie . workbench . common . IDENT_0 . api . IDENT_3 . IDENT_4 . METHOD_4 IDENT_6 = METHOD_5 ( reference . METHOD_1 ( ) ) ; final java . util . List < org . kie . workbench . common . IDENT_0 . api . IDENT_3 . IDENT_4 . METHOD_4 > IDENT_14 = METHOD_2 ( reference ) ; IDENT_14 . add ( ( ( IDENT_14 . indexOf ( IDENT_6 ) ) + ( IDENT_15 . METHOD_6 ( ) ) ) , IDENT_10 ) ; return IDENT_10 ; }
org . junit . Assert . assertEquals ( IDENT_13 , IDENT_7 )