METHOD_0 ( ) { org . apache . hadoop . yarn . server . IDENT_0 . IDENT_1 store = new org . apache . hadoop . yarn . server . IDENT_0 . METHOD_1 ( ) ; org . IDENT_2 . IDENT_3 . IDENT_4 factory = org . mockito . Mockito . mock ( org . IDENT_2 . IDENT_3 . IDENT_4 . class ) ; org . mockito . Mockito . when ( factory . METHOD_2 ( org . mockito . Mockito . any ( java . io . File . class ) , org . mockito . Mockito . any ( org . IDENT_5 . IDENT_6 . IDENT_7 . class ) ) ) . METHOD_3 ( new java . io . IOException ( ) ) . METHOD_4 ( ) ; store . METHOD_5 ( factory ) ; java . io . File path = new java . io . File ( STRING_0 , ( ( this . getClass ( ) . METHOD_6 ( ) ) + STRING_1 ) ) . METHOD_7 ( ) ; org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( this . config ) ; conf . set ( IDENT_8 . IDENT_9 , path . getAbsolutePath ( ) ) ; try { store . init ( conf ) ; org . mockito . Mockito . verify ( factory , org . mockito . Mockito . times ( 1 ) ) . METHOD_8 ( org . mockito . Mockito . any ( java . io . File . class ) , org . mockito . Mockito . any ( org . IDENT_5 . IDENT_6 . IDENT_7 . class ) ) ; java . io . IDENT_10 IDENT_11 = new org . apache . commons . io . IDENT_12 . METHOD_9 ( ( ( STRING_2 + ( METHOD_1 . IDENT_13 ) ) + STRING_2 ) ) ; "<AssertPlaceHolder>" ; } finally { store . close ( ) ; IDENT_14 . delete ( new org . apache . hadoop . fs . Path ( path . getAbsolutePath ( ) ) , true ) ; } } METHOD_10 ( java . io . File ) { java . io . File [ ] IDENT_15 = IDENT_16 . METHOD_10 ( ) ; if ( IDENT_15 == null ) { throw new java . io . IOException ( ( STRING_3 + ( IDENT_16 . toString ( ) ) ) ) ; } return IDENT_15 ; }
org . junit . Assert . assertTrue ( ( ( path . METHOD_10 ( IDENT_11 ) . length ) > 0 ) )