METHOD_0 ( ) { org . apache . hadoop . yarn . IDENT_0 . client . cli . IDENT_1 IDENT_2 = new org . apache . hadoop . yarn . IDENT_0 . client . cli . METHOD_1 ( org . apache . hadoop . yarn . IDENT_0 . client . cli . IDENT_3 . METHOD_2 ( ) ) ; boolean IDENT_4 = true ; try { IDENT_2 . run ( new java . lang . String [ ] { STRING_0 , STRING_0 1 , STRING_1 , STRING_2 , STRING_0 0 , STRING_3 , STRING_4 , STRING_5 , STRING_6 , STRING_7 , STRING_8 , STRING_9 } ) ; } catch ( org . apache . commons . cli . IDENT_5 e ) { IDENT_4 = false ; } "<AssertPlaceHolder>" ; } METHOD_2 ( ) { org . apache . hadoop . yarn . IDENT_0 . common . IDENT_6 IDENT_7 = new org . apache . hadoop . yarn . IDENT_0 . common . METHOD_3 ( ) ; org . apache . hadoop . yarn . IDENT_0 . IDENT_8 . common . IDENT_9 IDENT_10 = mock ( org . apache . hadoop . yarn . IDENT_0 . IDENT_8 . common . IDENT_9 . class ) ; when ( IDENT_10 . METHOD_4 ( any ( org . apache . hadoop . yarn . IDENT_0 . client . cli . param . IDENT_11 . class ) ) ) . thenReturn ( org . apache . hadoop . yarn . api . records . IDENT_12 . newInstance ( INT_0 , 1 ) ) ; org . apache . hadoop . yarn . IDENT_0 . IDENT_8 . common . IDENT_13 IDENT_14 = mock ( org . apache . hadoop . yarn . IDENT_0 . IDENT_8 . common . IDENT_13 . class ) ; org . apache . hadoop . yarn . IDENT_0 . IDENT_8 . common . IDENT_15 storage = mock ( org . apache . hadoop . yarn . IDENT_0 . IDENT_8 . common . IDENT_15 . class ) ; org . apache . hadoop . yarn . IDENT_0 . IDENT_8 . IDENT_16 IDENT_17 = mock ( org . apache . hadoop . yarn . IDENT_0 . IDENT_8 . IDENT_16 . class ) ; when ( IDENT_17 . METHOD_5 ( ) ) . thenReturn ( IDENT_10 ) ; when ( IDENT_17 . METHOD_6 ( ) ) . thenReturn ( IDENT_14 ) ; when ( IDENT_17 . METHOD_7 ( ) ) . thenReturn ( storage ) ; IDENT_7 . METHOD_8 ( IDENT_17 ) ; return IDENT_7 ; }
org . junit . Assert . assertTrue ( IDENT_4 )