METHOD_0 ( ) { org . apache . hadoop . yarn . service . api . records . IDENT_0 service = org . apache . hadoop . yarn . service . IDENT_1 . IDENT_2 . METHOD_1 ( ) ; IDENT_3 . METHOD_2 ( service , new org . apache . hadoop . yarn . conf . METHOD_3 ( ) ) ; java . util . Collection < org . apache . hadoop . yarn . api . records . IDENT_1 . IDENT_4 > IDENT_5 = ( ( org . apache . hadoop . yarn . service . IDENT_1 . IDENT_2 . IDENT_6 ) ( IDENT_7 ) ) . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; for ( org . apache . hadoop . yarn . api . records . IDENT_1 . IDENT_4 IDENT_8 : IDENT_5 ) { if ( ( IDENT_8 . getType ( ) ) == ( IDENT_9 . IDENT_10 . toString ( ) ) ) { METHOD_5 ( IDENT_8 ) ; } else { METHOD_6 ( IDENT_8 , null , true ) ; } } org . apache . hadoop . yarn . service . IDENT_11 context = new org . apache . hadoop . yarn . service . METHOD_7 ( ) ; context . IDENT_12 = org . apache . hadoop . yarn . api . records . IDENT_13 . newInstance ( org . apache . hadoop . yarn . api . records . IDENT_14 . METHOD_8 ( service . getId ( ) ) , 1 ) ; java . lang . String IDENT_15 = STRING_0 ; IDENT_3 . METHOD_9 ( context , IDENT_16 . IDENT_17 , IDENT_15 ) ; IDENT_5 = ( ( org . apache . hadoop . yarn . service . IDENT_1 . IDENT_2 . IDENT_6 ) ( IDENT_7 ) ) . METHOD_4 ( ) ; for ( org . apache . hadoop . yarn . api . records . IDENT_1 . IDENT_4 IDENT_8 : IDENT_5 ) { if ( ( IDENT_8 . getType ( ) ) == ( IDENT_9 . IDENT_18 . toString ( ) ) ) { METHOD_6 ( IDENT_8 , IDENT_15 , false ) ; } } } size ( ) { return IDENT_19 . size ( ) ; }
org . junit . Assert . assertEquals ( 2 , IDENT_5 . size ( ) )