METHOD_0 ( ) { int IDENT_0 = conf . METHOD_1 ( IDENT_1 . IDENT_2 , IDENT_1 . IDENT_3 ) ; int IDENT_4 = 3 ; conf . METHOD_2 ( IDENT_1 . IDENT_2 , IDENT_4 ) ; org . apache . hadoop . yarn . server . IDENT_5 . IDENT_6 IDENT_7 = mock ( org . apache . hadoop . yarn . server . IDENT_5 . IDENT_6 . class ) ; org . apache . hadoop . yarn . server . IDENT_5 . IDENT_8 IDENT_9 = mock ( org . apache . hadoop . yarn . server . IDENT_5 . IDENT_8 . class ) ; when ( IDENT_9 . METHOD_3 ( ) ) . METHOD_4 ( new java . lang . RuntimeException ( ) ) ; org . apache . hadoop . yarn . server . IDENT_5 . IDENT_10 . IDENT_11 . IDENT_12 IDENT_13 = new org . apache . hadoop . yarn . server . IDENT_5 . IDENT_10 . IDENT_11 . METHOD_5 ( IDENT_14 , this . context , IDENT_7 , IDENT_9 ) ; IDENT_13 . init ( this . conf ) ; IDENT_13 . start ( ) ; java . util . concurrent . IDENT_15 IDENT_16 = IDENT_13 . IDENT_17 ; final java . util . concurrent . IDENT_18 . IDENT_19 IDENT_20 = new java . util . concurrent . IDENT_18 . METHOD_6 ( ) ; final java . util . concurrent . IDENT_18 . IDENT_21 IDENT_22 = IDENT_20 . METHOD_7 ( ) ; final java . util . concurrent . IDENT_18 . IDENT_21 IDENT_23 = IDENT_20 . METHOD_8 ( ) ; IDENT_23 . METHOD_9 ( ) ; try { java . lang . IDENT_24 IDENT_25 = new java . lang . METHOD_10 ( ) { @ org . apache . hadoop . yarn . server . IDENT_5 . IDENT_10 . IDENT_11 . Override public void run ( ) { try { IDENT_22 . METHOD_11 ( INT_0 , TimeUnit . IDENT_26 ) ; } catch ( java . lang . IDENT_27 e ) { e . printStackTrace ( ) ; } finally { IDENT_22 . METHOD_12 ( ) ; } } } ; for ( int i = 0 ; i < ( IDENT_4 + 1 ) ; i ++ ) { IDENT_16 . METHOD_13 ( IDENT_25 ) ; } int IDENT_28 = ( ( java . util . concurrent . IDENT_29 ) ( IDENT_16 ) ) . METHOD_14 ( ) ; "<AssertPlaceHolder>" ; } finally { IDENT_23 . METHOD_12 ( ) ; } IDENT_13 . METHOD_15 ( ) ; IDENT_13 . close ( ) ; conf . METHOD_2 ( IDENT_1 . IDENT_2 , IDENT_0 ) ; } METHOD_14 ( ) { return IDENT_30 . METHOD_14 ( ) ; }
org . junit . Assert . assertEquals ( IDENT_4 , IDENT_28 )