METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; java . lang . String IDENT_1 = STRING_1 ; long IDENT_2 = INT_0 ; java . lang . String queue = STRING_2 ; try { int result = org . apache . hadoop . yarn . service . client . IDENT_3 . IDENT_4 . METHOD_1 ( IDENT_0 , IDENT_1 , IDENT_2 , queue ) ; "<AssertPlaceHolder>" ; } catch ( java . io . IOException | org . apache . hadoop . yarn . exceptions . IDENT_5 e ) { org . junit . Assert . fail ( ) ; } } METHOD_1 ( java . lang . String , java . lang . String , java . lang . Long , java . lang . String ) { int result = IDENT_6 ; try { org . apache . hadoop . yarn . service . api . records . IDENT_7 service = METHOD_2 ( IDENT_0 , IDENT_1 , IDENT_2 , queue ) ; java . lang . String buffer = IDENT_8 . METHOD_3 ( service ) ; com . sun . jersey . api . client . IDENT_9 response = METHOD_4 ( ) . METHOD_5 ( com . sun . jersey . api . client . IDENT_9 . class , buffer ) ; result = METHOD_6 ( response ) ; } catch ( java . lang . Exception e ) { org . apache . hadoop . yarn . service . client . IDENT_10 . LOG . error ( STRING_3 , e ) ; result = IDENT_11 ; } return result ; }
org . junit . Assert . assertEquals ( org . apache . hadoop . yarn . service . client . IDENT_11 , result )