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