METHOD_0 ( ) { IDENT_0 = new org . apache . hadoop . yarn . server . IDENT_1 . METHOD_1 ( conf ) ; org . apache . hadoop . yarn . server . IDENT_1 . IDENT_2 IDENT_3 = new org . apache . hadoop . yarn . server . IDENT_1 . METHOD_2 ( STRING_0 , INT_0 , IDENT_0 . METHOD_3 ( ) ) ; IDENT_3 . METHOD_4 ( ) ; IDENT_0 . start ( ) ; org . apache . hadoop . yarn . server . IDENT_1 . IDENT_4 . IDENT_5 IDENT_6 = IDENT_0 . METHOD_5 ( INT_1 ) ; final org . apache . hadoop . yarn . server . IDENT_1 . IDENT_7 IDENT_8 = org . apache . hadoop . yarn . server . IDENT_1 . METHOD_1 . METHOD_6 ( IDENT_6 , IDENT_0 , IDENT_3 ) ; conf . METHOD_7 ( IDENT_9 . IDENT_10 , INT_2 ) ; IDENT_11 = new org . apache . hadoop . yarn . server . IDENT_1 . METHOD_1 ( conf , IDENT_0 . METHOD_8 ( ) ) ; IDENT_11 . start ( ) ; IDENT_3 . METHOD_9 ( IDENT_11 . METHOD_3 ( ) ) ; IDENT_11 . METHOD_10 ( IDENT_6 . METHOD_11 ( ) , IDENT_12 . IDENT_13 ) ; IDENT_8 . METHOD_12 ( IDENT_11 . METHOD_13 ( ) , IDENT_11 . METHOD_14 ( ) ) ; IDENT_8 . METHOD_15 ( true ) ; final org . apache . hadoop . yarn . api . records . IDENT_14 IDENT_15 = org . apache . hadoop . yarn . api . records . IDENT_14 . METHOD_16 ( IDENT_8 . METHOD_17 ( ) , 2 ) ; IDENT_8 . METHOD_18 ( null , java . util . Arrays . asList ( IDENT_15 ) ) ; java . util . List < org . apache . hadoop . yarn . server . api . IDENT_16 . IDENT_17 > IDENT_18 = org . apache . hadoop . yarn . server . IDENT_1 . IDENT_19 . METHOD_19 ( IDENT_8 ) ; IDENT_3 . METHOD_4 ( IDENT_18 , null ) ; org . apache . hadoop . yarn . server . IDENT_1 . IDENT_19 . METHOD_20 ( 1 , IDENT_11 , IDENT_8 . METHOD_17 ( ) ) ; final org . apache . hadoop . yarn . server . IDENT_1 . IDENT_20 . IDENT_21 IDENT_20 = ( ( org . apache . hadoop . yarn . server . IDENT_1 . IDENT_20 . IDENT_21 ) ( IDENT_11 . METHOD_21 ( ) ) ) ; org . apache . hadoop . yarn . api . IDENT_16 . IDENT_22 response = IDENT_8 . METHOD_18 ( null , null ) ; boolean IDENT_23 = false ; for ( org . apache . hadoop . yarn . api . records . IDENT_24 status : response . METHOD_22 ( ) ) { if ( status . METHOD_23 ( ) . equals ( IDENT_15 ) ) { IDENT_23 = true ; } } "<AssertPlaceHolder>" ; org . apache . hadoop . test . IDENT_25 . METHOD_24 ( new com . google . common . base . IDENT_26 < java . lang . Boolean > ( ) { public org . apache . hadoop . yarn . server . IDENT_1 . Boolean get ( ) { return ( IDENT_20 . METHOD_25 ( IDENT_8 . METHOD_17 ( ) ) . METHOD_26 ( ) . isEmpty ( ) ) && ( ( IDENT_20 . METHOD_27 ( IDENT_15 ) ) == null ) ; } } , 1000 , INT_3 ) ; } equals ( java . lang . Object ) { if ( ( this ) == o ) return true ; if ( ( o == null ) || ( ( getClass ( ) ) != ( o . getClass ( ) ) ) ) return false ; org . apache . hadoop . yarn . service . component . instance . IDENT_27 that = ( ( org . apache . hadoop . yarn . service . component . instance . IDENT_27 ) ( o ) ) ; if ( ( getId ( ) ) != ( that . getId ( ) ) ) return false ; return ( METHOD_28 ( ) ) != null ? METHOD_28 ( ) . equals ( that . METHOD_28 ( ) ) : ( that . METHOD_28 ( ) ) == null ; }
org . junit . Assert . assertTrue ( IDENT_23 )