METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . yarn . conf . METHOD_1 ( ) ; java . util . List < org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 > ret = IDENT_5 . METHOD_2 ( plugin , conf ) ; verify ( IDENT_6 , times ( 1 ) ) . METHOD_3 ( IDENT_7 . IDENT_8 . IDENT_9 ) ; verify ( IDENT_6 , times ( 0 ) ) . METHOD_4 ( IDENT_7 . IDENT_8 . IDENT_9 , "" , IDENT_7 . IDENT_10 , "" ) ; verify ( IDENT_6 , times ( 0 ) ) . METHOD_4 ( IDENT_7 . IDENT_8 . IDENT_9 , "" , IDENT_7 . IDENT_11 , "" ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . resources . IDENT_8 , java . lang . String , java . lang . String , java . lang . String ) { java . lang . String IDENT_12 = METHOD_5 ( controller , IDENT_13 , param ) ; org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . resources . IDENT_14 IDENT_15 = null ; org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . resources . IDENT_16 . LOG . debug ( STRING_0 , IDENT_12 , value ) ; try { org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . resources . File file = new org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . resources . File ( IDENT_12 ) ; org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . resources . IDENT_17 IDENT_18 = new org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . resources . METHOD_6 ( new org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . resources . METHOD_7 ( file ) , STRING_1 ) ; IDENT_15 = new org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . resources . METHOD_8 ( IDENT_18 ) ; IDENT_15 . write ( value ) ; } catch ( org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . resources . IOException e ) { throw new org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . resources . METHOD_9 ( java . lang . String . format ( STRING_2 , IDENT_12 , value ) , e ) ; } finally { if ( IDENT_15 != null ) { boolean IDENT_19 = IDENT_15 . METHOD_10 ( ) ; IDENT_15 . close ( ) ; if ( IDENT_19 ) { throw new org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . resources . METHOD_9 ( java . lang . String . format ( STRING_3 , IDENT_12 , value ) ) ; } if ( IDENT_15 . METHOD_10 ( ) ) { throw new org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 . IDENT_2 . resources . METHOD_9 ( java . lang . String . format ( STRING_4 , IDENT_12 ) ) ; } } } }
org . junit . Assert . assertNull ( ret )