METHOD_0 ( ) { org . IDENT_0 . test . listener . process . IDENT_1 IDENT_2 = new org . IDENT_0 . test . listener . process . METHOD_1 ( STRING_0 , 2 ) ; final java . util . List < java . lang . Long > IDENT_3 = new java . util . ArrayList < java . lang . Long > ( ) ; org . kie . api . event . process . IDENT_4 listener = new org . kie . api . event . process . METHOD_2 ( ) { @ org . IDENT_0 . test . IDENT_5 . IDENT_6 . Override public void METHOD_3 ( org . kie . api . event . process . IDENT_7 event ) { if ( event . METHOD_4 ( ) . METHOD_5 ( ) . equals ( STRING_0 ) ) { IDENT_3 . add ( event . METHOD_6 ( ) . getId ( ) ) ; } } } ; IDENT_8 = IDENT_9 . IDENT_10 . get ( ) . METHOD_7 ( ) . METHOD_8 ( IDENT_11 ) . METHOD_9 ( org . kie . internal . io . IDENT_12 . METHOD_10 ( STRING_1 ) , IDENT_13 . IDENT_14 ) . METHOD_11 ( new org . IDENT_0 . test . IDENT_5 . IDENT_6 . METHOD_12 ( listener , IDENT_2 ) ) . get ( ) ; manager = METHOD_13 ( IDENT_8 , true ) ; org . kie . api . runtime . manager . IDENT_15 runtime = manager . METHOD_14 ( org . kie . internal . runtime . manager . context . IDENT_16 . get ( ) ) ; org . kie . api . runtime . IDENT_17 IDENT_18 = runtime . METHOD_15 ( ) ; org . kie . api . runtime . process . IDENT_19 IDENT_20 = IDENT_18 . METHOD_16 ( STRING_2 ) ; manager . METHOD_17 ( runtime ) ; IDENT_2 . METHOD_18 ( ) ; manager . close ( ) ; IDENT_2 . METHOD_19 ( 1 ) ; IDENT_8 = IDENT_9 . IDENT_10 . get ( ) . METHOD_7 ( ) . METHOD_8 ( IDENT_11 ) . METHOD_9 ( org . kie . internal . io . IDENT_12 . METHOD_10 ( STRING_1 ) , IDENT_13 . IDENT_14 ) . METHOD_11 ( new org . IDENT_0 . test . IDENT_5 . IDENT_6 . METHOD_12 ( listener ) ) . get ( ) ; manager = METHOD_13 ( IDENT_8 , true ) ; manager . METHOD_17 ( runtime ) ; IDENT_2 . METHOD_18 ( INT_0 ) ; "<AssertPlaceHolder>" ; } size ( ) { return data . size ( ) ; }
org . junit . Assert . assertEquals ( 2 , IDENT_3 . size ( ) )