METHOD_0 ( ) { org . apache . IDENT_0 . api . IDENT_1 runner = METHOD_1 ( ) ; final int IDENT_2 = 3 ; final java . util . concurrent . atomic . IDENT_3 IDENT_4 = new java . util . concurrent . atomic . METHOD_2 ( 0 ) ; final java . util . concurrent . IDENT_5 IDENT_6 = new java . util . concurrent . METHOD_3 ( 1 ) ; final java . util . concurrent . METHOD_3 IDENT_7 = new java . util . concurrent . METHOD_3 ( 1 ) ; org . apache . IDENT_0 . api . IDENT_8 resource = IDENT_8 . Builder . with ( ) . METHOD_4 ( 1 ) . METHOD_5 ( INT_0 , IDENT_8 . IDENT_9 . IDENT_10 ) . METHOD_6 ( 2 ) . build ( ) ; org . apache . IDENT_0 . api . IDENT_11 controller = runner . METHOD_7 ( new org . apache . IDENT_0 . yarn . IDENT_12 . METHOD_8 ( ) , resource ) . METHOD_9 ( org . apache . IDENT_0 . yarn . IDENT_12 . METHOD_8 . class . METHOD_10 ( ) , IDENT_2 ) . METHOD_11 ( new org . apache . IDENT_0 . api . logging . METHOD_12 ( new java . io . METHOD_13 ( System . out , true ) ) ) . METHOD_11 ( new org . apache . IDENT_0 . api . logging . METHOD_14 ( ) { @ org . apache . IDENT_0 . yarn . Override public void METHOD_15 ( org . apache . IDENT_0 . api . logging . IDENT_13 IDENT_14 ) { if ( IDENT_14 . getMessage ( ) . contains ( STRING_0 ) ) { IDENT_4 . METHOD_16 ( ) ; } if ( IDENT_14 . getMessage ( ) . contains ( STRING_1 ) ) { IDENT_6 . METHOD_17 ( ) ; } if ( IDENT_14 . getMessage ( ) . contains ( STRING_2 ) ) { IDENT_7 . METHOD_17 ( ) ; } } } ) . start ( ) ; try { IDENT_7 . METHOD_18 ( ) ; controller . METHOD_19 ( org . apache . IDENT_0 . yarn . IDENT_12 . METHOD_8 . class . METHOD_10 ( ) , 3 ) ; IDENT_6 . METHOD_18 ( ) ; "<AssertPlaceHolder>" ; } finally { controller . METHOD_20 ( ) . get ( ) ; } } get ( ) { return METHOD_21 ( ) ; }
org . junit . Assert . assertEquals ( 3 , IDENT_4 . get ( ) )