METHOD_0 ( ) { final org . eclipse . IDENT_0 . IDENT_1 . Class IDENT_2 = METHOD_1 ( STRING_0 , org . eclipse . IDENT_0 . IDENT_1 . Class . class ) ; METHOD_2 ( new java . lang . METHOD_3 ( ) { @ org . eclipse . IDENT_3 . IDENT_4 . internal . ui . IDENT_5 . tests . Override public void run ( ) { IDENT_2 . setName ( STRING_1 ) ; } } ) ; class IDENT_6 implements org . eclipse . IDENT_7 . util . event . IDENT_8 { MOD_0 MOD_1 boolean IDENT_9 ; @ org . eclipse . IDENT_3 . IDENT_4 . internal . ui . IDENT_5 . tests . Override public void METHOD_4 ( org . eclipse . IDENT_7 . util . event . IDENT_10 event ) { if ( event instanceof org . eclipse . IDENT_11 . IDENT_4 . transaction . IDENT_12 ) { IDENT_9 = true ; } } boolean METHOD_5 ( ) { boolean result = IDENT_9 ; IDENT_9 = false ; return result ; } } IDENT_6 test = new METHOD_6 ( ) ; METHOD_7 ( METHOD_8 ( ) ) . METHOD_9 ( test ) ; fixture . METHOD_10 ( new org . eclipse . core . runtime . METHOD_11 ( ) ) ; sleep ( 3 ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { boolean result = IDENT_9 ; IDENT_9 = false ; return result ; }
org . junit . Assert . assertThat ( test . METHOD_5 ( ) , org . hamcrest . CoreMatchers . is ( true ) )