METHOD_0 ( ) { org . apache . hadoop . yarn . api . records . IDENT_0 IDENT_1 = org . apache . hadoop . yarn . api . records . IDENT_0 . newInstance ( STRING_0 , 0 ) ; org . apache . hadoop . yarn . client . cli . IDENT_2 cli = new org . apache . hadoop . yarn . client . cli . METHOD_1 ( ) ; when ( client . METHOD_2 ( ) ) . thenReturn ( METHOD_2 ( 3 , IDENT_3 . IDENT_4 , false ) ) ; cli . METHOD_3 ( client ) ; cli . METHOD_4 ( IDENT_5 ) ; cli . METHOD_5 ( IDENT_6 ) ; int result = cli . run ( new java . lang . String [ ] { STRING_1 7 , IDENT_1 . toString ( ) } ) ; "<AssertPlaceHolder>" ; verify ( client ) . METHOD_2 ( ) ; java . io . ByteArrayOutputStream IDENT_7 = new java . io . ByteArrayOutputStream ( ) ; java . io . IDENT_8 IDENT_9 = new java . io . METHOD_6 ( IDENT_7 ) ; IDENT_9 . println ( STRING_1 4 ) ; IDENT_9 . println ( STRING_1 2 ) ; IDENT_9 . println ( STRING_1 5 ) ; IDENT_9 . println ( STRING_2 ) ; IDENT_9 . println ( STRING_1 6 ) ; IDENT_9 . println ( ( STRING_1 1 + ( org . apache . commons . lang . time . IDENT_10 . format ( new java . util . Date ( 0 ) , STRING_1 8 ) ) ) ) ; IDENT_9 . println ( STRING_3 ) ; IDENT_9 . println ( STRING_4 ) ; IDENT_9 . println ( STRING_5 ) ; IDENT_9 . println ( STRING_6 ) ; IDENT_9 . println ( STRING_1 3 ) ; IDENT_9 . println ( STRING_1 0 ) ; IDENT_9 . println ( STRING_1 9 ) ; IDENT_9 . println ( STRING_1 ) ; IDENT_9 . println ( STRING_7 ) ; IDENT_9 . println ( STRING_8 ) ; IDENT_9 . println ( STRING_8 0 ) ; IDENT_9 . close ( ) ; java . lang . String IDENT_11 = IDENT_7 . toString ( STRING_9 ) ; verify ( IDENT_5 , times ( 1 ) ) . println ( METHOD_7 ( java . lang . String . class ) ) ; verify ( IDENT_5 ) . println ( IDENT_11 ) ; } toString ( ) { if ( ( json ) == null ) { return STRING_10 + ( id ) ; } else { return json . toString ( ) ; } }
org . junit . Assert . assertEquals ( 0 , result )