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