METHOD_0 ( ) { java . util . List < java . lang . String > IDENT_0 = new java . util . ArrayList ( ) ; IDENT_0 . add ( STRING_0 ) ; when ( IDENT_1 . METHOD_1 ( org . IDENT_2 . services . task . commands . IDENT_3 . IDENT_4 ) ) . thenReturn ( IDENT_0 ) ; java . util . List < org . kie . api . task . model . IDENT_5 > IDENT_6 = new java . util . ArrayList ( ) ; IDENT_6 . add ( new org . IDENT_2 . services . task . impl . model . METHOD_2 ( STRING_0 ) ) ; when ( IDENT_7 . METHOD_3 ( ) ) . thenReturn ( IDENT_6 ) ; org . kie . api . task . model . IDENT_8 IDENT_9 = command . execute ( IDENT_10 ) ; "<AssertPlaceHolder>" ; } execute ( org . kie . api . runtime . Context ) { org . kie . api . runtime . IDENT_11 IDENT_12 = ( ( org . kie . internal . command . IDENT_13 ) ( context ) ) . METHOD_4 ( org . kie . api . runtime . IDENT_11 . class ) ; org . kie . api . runtime . process . IDENT_14 IDENT_15 = IDENT_12 . METHOD_5 ( IDENT_16 ) ; org . IDENT_2 . IDENT_17 . instance . node . IDENT_18 IDENT_19 = ( ( org . IDENT_2 . IDENT_17 . instance . node . IDENT_18 ) ( ( ( org . IDENT_2 . IDENT_17 . instance . impl . IDENT_20 ) ( IDENT_15 ) ) . METHOD_6 ( true ) . stream ( ) . filter ( ( IDENT_21 ) -> ( IDENT_21 instanceof org . IDENT_2 . IDENT_17 . instance . node . IDENT_18 ) && ( ( IDENT_22 . equals ( IDENT_21 . METHOD_7 ( ) . METHOD_8 ( ) . get ( STRING_1 ) ) ) || ( IDENT_22 . equals ( IDENT_21 . METHOD_9 ( ) ) ) ) ) . METHOD_10 ( ) . METHOD_11 ( ( ) -> new org . IDENT_2 . IDENT_23 . api . METHOD_12 ( ( STRING_2 + ( IDENT_22 ) ) ) ) ) ) ; org . IDENT_2 . IDENT_23 . api . model . IDENT_24 IDENT_25 = IDENT_26 . METHOD_13 ( ) . stream ( ) . filter ( ( IDENT_22 ) -> IDENT_22 . getId ( ) . equals ( IDENT_19 . METHOD_7 ( ) . METHOD_8 ( ) . get ( STRING_1 ) ) ) . METHOD_10 ( ) . get ( ) ; if ( ! ( IDENT_25 . METHOD_14 ( ) . stream ( ) . METHOD_15 ( ( IDENT_27 ) -> IDENT_27 . getName ( ) . equals ( IDENT_28 ) ) ) ) { throw new org . IDENT_2 . IDENT_23 . api . METHOD_16 ( ( ( ( ( ( STRING_3 + ( IDENT_28 ) ) + STRING_4 ) + ( ( ( org . IDENT_2 . IDENT_17 . instance . impl . IDENT_20 ) ( IDENT_15 ) ) . METHOD_17 ( ) ) ) + STRING_5 ) + ( IDENT_22 ) ) ) ; } IDENT_19 . METHOD_18 ( IDENT_28 , data ) ; return null ; }
org . junit . Assert . assertEquals ( task , IDENT_9 )