METHOD_0 ( ) { org . osgi . framework . IDENT_0 IDENT_1 = METHOD_1 ( METHOD_2 ( ) ) ; try { IDENT_1 . start ( ) ; final org . osgi . framework . IDENT_2 context = IDENT_1 . METHOD_3 ( ) ; final java . util . concurrent . atomic . IDENT_3 IDENT_4 = new java . util . concurrent . atomic . METHOD_4 ( ) ; org . osgi . framework . IDENT_5 listener = new org . osgi . framework . METHOD_5 ( ) { @ org . jboss . test . osgi . framework . service . Override public void METHOD_6 ( org . osgi . framework . IDENT_6 event ) { if ( ( org . osgi . framework . IDENT_6 . IDENT_7 ) == ( event . getType ( ) ) ) { org . osgi . framework . IDENT_8 IDENT_9 = event . METHOD_7 ( ) ; if ( ( context . METHOD_8 ( IDENT_9 ) ) != null ) IDENT_4 . METHOD_9 ( ) ; } } } ; context . METHOD_10 ( listener ) ; context . METHOD_11 ( org . osgi . framework . IDENT_2 . class . getName ( ) , context , null ) ; "<AssertPlaceHolder>" ; } finally { IDENT_1 . METHOD_12 ( ) ; } } get ( ) { try { return get ( 5 , TimeUnit . IDENT_10 ) ; } catch ( java . util . concurrent . IDENT_11 ex ) { throw new java . util . concurrent . METHOD_13 ( ex ) ; } }
org . junit . Assert . assertEquals ( 1 , IDENT_4 . get ( ) )