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