METHOD_0 ( ) { java . lang . System . setProperty ( STRING_0 , STRING_1 ) ; org . IDENT_0 . test . listener . process . IDENT_1 IDENT_2 = new org . IDENT_0 . test . listener . process . METHOD_1 ( STRING_2 , 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 ) { IDENT_3 . add ( event . METHOD_4 ( ) . getId ( ) ) ; } } ; IDENT_8 = IDENT_9 . IDENT_10 . get ( ) . METHOD_5 ( ) . METHOD_6 ( IDENT_11 ) . METHOD_7 ( org . kie . internal . io . IDENT_12 . METHOD_8 ( STRING_3 ) , IDENT_13 . IDENT_14 ) . METHOD_9 ( new org . IDENT_0 . test . IDENT_5 . IDENT_6 . METHOD_10 ( listener , IDENT_2 ) ) . get ( ) ; manager = METHOD_11 ( IDENT_8 , true ) ; org . kie . api . runtime . manager . IDENT_15 runtime = manager . METHOD_12 ( org . kie . internal . runtime . manager . context . IDENT_16 . get ( ) ) ; org . kie . api . runtime . IDENT_17 IDENT_18 = runtime . METHOD_13 ( ) ; IDENT_2 . METHOD_14 ( ) ; manager . METHOD_15 ( runtime ) ; manager . close ( ) ; System . out . println ( STRING_4 ) ; IDENT_2 . METHOD_16 ( 3 ) ; java . lang . Thread . sleep ( INT_0 ) ; IDENT_8 = IDENT_9 . IDENT_10 . get ( ) . METHOD_5 ( ) . METHOD_6 ( IDENT_11 ) . METHOD_7 ( org . kie . internal . io . IDENT_12 . METHOD_8 ( STRING_3 ) , IDENT_13 . IDENT_14 ) . METHOD_9 ( new org . IDENT_0 . test . IDENT_5 . IDENT_6 . METHOD_10 ( listener , IDENT_2 ) ) . get ( ) ; manager = METHOD_11 ( IDENT_8 , true ) ; IDENT_2 . METHOD_14 ( INT_1 ) ; "<AssertPlaceHolder>" ; } size ( ) { return data . size ( ) ; }
org . junit . Assert . assertEquals ( 5 , IDENT_3 . size ( ) )