METHOD_0 ( ) { final org . osgi . framework . IDENT_0 IDENT_1 = METHOD_1 ( ) ; IDENT_1 . METHOD_2 ( ) ; final java . util . concurrent . atomic . IDENT_2 IDENT_3 = new java . util . concurrent . atomic . METHOD_3 ( false ) ; final java . util . concurrent . IDENT_4 executor = java . util . concurrent . IDENT_5 . METHOD_4 ( 2 ) ; try { IDENT_6 . METHOD_5 ( new org . osgi . framework . METHOD_6 ( ) { @ org . apache . IDENT_7 . IDENT_8 . IDENT_9 . Override public void METHOD_7 ( org . osgi . framework . IDENT_10 event ) { java . util . concurrent . IDENT_11 < ? > future = executor . METHOD_8 ( new java . lang . METHOD_9 ( ) { public void run ( ) { try { org . osgi . framework . IDENT_0 a = IDENT_1 . METHOD_10 ( ) . METHOD_11 ( org . apache . IDENT_7 . IDENT_8 . IDENT_9 . IDENT_12 . IDENT_13 , new java . io . METHOD_12 ( org . apache . IDENT_7 . IDENT_8 . IDENT_9 . IDENT_12 . IDENT_13 ) ) ; IDENT_3 . set ( true ) ; a . METHOD_13 ( ) ; } catch ( java . lang . Exception e ) { e . printStackTrace ( ) ; } } } ) ; try { future . get ( ) ; IDENT_3 . set ( true ) ; } catch ( java . lang . Exception e ) { e . printStackTrace ( ) ; } } } , STRING_0 ) ; java . util . concurrent . IDENT_11 < ? > future = executor . METHOD_8 ( new java . lang . METHOD_9 ( ) { public void run ( ) { try { IDENT_1 . start ( ) ; } catch ( java . lang . Exception e ) { e . printStackTrace ( ) ; } } } ) ; try { future . get ( 3 , TimeUnit . IDENT_14 ) ; "<AssertPlaceHolder>" ; } catch ( java . util . concurrent . IDENT_15 e ) { org . junit . Assert . fail ( STRING_1 ) ; } } finally { executor . METHOD_14 ( ) ; } } get ( ) { return IDENT_16 . get ( ) ; }
org . junit . Assert . assertTrue ( STRING_1 , IDENT_3 . get ( ) )