METHOD_0 ( ) { final org . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = new org . IDENT_0 . IDENT_1 . METHOD_1 ( ) ; final java . lang . String IDENT_4 = STRING_0 ; final java . lang . String IDENT_5 = STRING_1 ; final org . IDENT_0 . IDENT_1 . IDENT_6 < org . IDENT_0 . IDENT_1 . METHOD_1 > IDENT_1 = new org . IDENT_0 . IDENT_1 . IDENT_6 < org . IDENT_0 . IDENT_1 . METHOD_1 > ( STRING_2 ) ; org . IDENT_0 . IDENT_1 . model . impl . IDENT_7 < org . IDENT_0 . IDENT_1 . METHOD_1 > IDENT_8 = new org . IDENT_0 . IDENT_1 . model . impl . IDENT_7 < org . IDENT_0 . IDENT_1 . METHOD_1 > ( 100 ) ; org . IDENT_0 . IDENT_1 . model . IDENT_9 < org . IDENT_0 . IDENT_1 . METHOD_1 > IDENT_10 = new org . IDENT_0 . IDENT_1 . model . IDENT_9 < org . IDENT_0 . IDENT_1 . METHOD_1 > ( ) { public void execute ( org . IDENT_0 . IDENT_1 . METHOD_1 IDENT_3 , java . lang . String event , java . lang . Object OP_0 args ) throws org . IDENT_0 . IDENT_1 . IDENT_11 { try { java . lang . Thread . sleep ( INT_0 ) ; IDENT_1 . METHOD_2 ( IDENT_3 , IDENT_4 , args ) ; } catch ( java . lang . IDENT_12 e ) { throw new java . lang . RuntimeException ( e ) ; } catch ( org . IDENT_0 . IDENT_1 . IDENT_13 IDENT_14 ) { throw new java . lang . RuntimeException ( IDENT_14 ) ; } } } ; org . IDENT_0 . IDENT_1 . model . impl . IDENT_7 < org . IDENT_0 . IDENT_1 . METHOD_1 > IDENT_15 = METHOD_3 ( IDENT_8 ) ; org . IDENT_0 . IDENT_1 . model . IDENT_9 < org . IDENT_0 . IDENT_1 . METHOD_1 > IDENT_16 = METHOD_3 ( IDENT_10 ) ; org . IDENT_0 . IDENT_1 . model . IDENT_17 < org . IDENT_0 . IDENT_1 . METHOD_1 > IDENT_18 = new org . IDENT_0 . IDENT_1 . model . impl . IDENT_19 < org . IDENT_0 . IDENT_1 . METHOD_1 > ( STRING_3 ) ; org . IDENT_0 . IDENT_1 . model . IDENT_17 < org . IDENT_0 . IDENT_1 . METHOD_1 > IDENT_20 = new org . IDENT_0 . IDENT_1 . model . impl . IDENT_19 < org . IDENT_0 . IDENT_1 . METHOD_1 > ( STRING_4 ) ; org . IDENT_0 . IDENT_1 . model . IDENT_17 < org . IDENT_0 . IDENT_1 . METHOD_1 > IDENT_21 = new org . IDENT_0 . IDENT_1 . model . impl . IDENT_19 < org . IDENT_0 . IDENT_1 . METHOD_1 > ( STRING_5 ) ; IDENT_18 . METHOD_4 ( IDENT_4 , IDENT_20 , IDENT_16 ) ; IDENT_18 . METHOD_4 ( IDENT_5 , IDENT_21 ) ; IDENT_20 . METHOD_4 ( IDENT_4 , IDENT_18 ) ; IDENT_20 . METHOD_4 ( IDENT_5 , IDENT_20 , IDENT_15 ) ; java . util . List < org . IDENT_0 . IDENT_1 . model . IDENT_17 < org . IDENT_0 . IDENT_1 . METHOD_1 > > IDENT_22 = new java . util . IDENT_23 < org . IDENT_0 . IDENT_1 . model . IDENT_17 < org . IDENT_0 . IDENT_1 . METHOD_1 > > ( ) ; IDENT_22 . add ( IDENT_18 ) ; IDENT_22 . add ( IDENT_20 ) ; IDENT_22 . add ( IDENT_21 ) ; org . IDENT_0 . IDENT_1 . IDENT_24 < org . IDENT_0 . IDENT_1 . METHOD_1 > IDENT_25 = new org . IDENT_0 . persistence . IDENT_26 . IDENT_27 < org . IDENT_0 . IDENT_1 . METHOD_1 > ( IDENT_22 , IDENT_18 ) ; IDENT_1 . METHOD_5 ( IDENT_25 ) ; final org . IDENT_0 . IDENT_1 . METHOD_1 args = null ; new java . lang . Thread ( new java . lang . METHOD_6 ( ) { public void run ( ) { try { IDENT_1 . METHOD_2 ( IDENT_3 , IDENT_4 , args ) ; } catch ( org . IDENT_0 . IDENT_1 . IDENT_13 e ) { throw new java . lang . RuntimeException ( e ) ; } } } ) . start ( ) ; java . lang . Thread . sleep ( 5 ) ; org . IDENT_0 . IDENT_1 . model . IDENT_17 < org . IDENT_0 . IDENT_1 . METHOD_1 > IDENT_28 = IDENT_1 . METHOD_2 ( IDENT_3 , IDENT_5 , args ) ; "<AssertPlaceHolder>" ; verify ( IDENT_15 , METHOD_7 ( 2 ) ) . execute ( IDENT_3 , IDENT_5 , args ) ; verify ( IDENT_16 , times ( 1 ) ) . execute ( IDENT_3 , IDENT_4 , args ) ; } METHOD_2 ( T , java . lang . String , java . lang . Object [ ] ) { METHOD_8 ( IDENT_3 ) ; return super . METHOD_2 ( IDENT_3 , event , IDENT_29 ) ; }
org . junit . Assert . assertEquals ( IDENT_21 , IDENT_28 )