METHOD_0 ( ) { org . apache . nifi . IDENT_0 . IDENT_1 . util . IDENT_2 . METHOD_1 ( false ) ; java . lang . String IDENT_3 = STRING_0 ; java . io . IOException IDENT_4 = new java . io . IOException ( STRING_1 ) ; METHOD_2 ( IDENT_4 ) . when ( IDENT_5 ) . METHOD_3 ( eq ( IDENT_6 ) , org . mockito . IDENT_7 . METHOD_4 ( IDENT_3 . METHOD_5 ( ) ) ) ; try { org . apache . nifi . IDENT_0 . IDENT_1 . util . IDENT_8 . METHOD_6 ( IDENT_9 , IDENT_10 , file , IDENT_3 , true ) ; org . junit . Assert . fail ( ( STRING_2 + IDENT_4 ) ) ; } catch ( java . io . IOException e ) { "<AssertPlaceHolder>" ; } } METHOD_6 ( java . security . IDENT_11 , org . apache . nifi . IDENT_0 . IDENT_1 . util . IDENT_12 , java . io . File , java . lang . String , boolean ) { try ( java . io . IDENT_13 IDENT_14 = IDENT_10 . create ( file ) ) { IDENT_9 . store ( IDENT_14 , IDENT_15 . METHOD_5 ( ) ) ; } catch ( java . io . IOException e ) { if ( ( e . getMessage ( ) . toLowerCase ( ) . contains ( org . apache . nifi . IDENT_0 . IDENT_1 . util . IDENT_8 . IDENT_16 ) ) && ( ! ( org . apache . nifi . IDENT_0 . IDENT_1 . util . IDENT_8 . METHOD_7 ( ) ) ) ) { if ( IDENT_17 ) { file . delete ( ) ; java . lang . String IDENT_18 = IDENT_15 . substring ( 0 , 7 ) ; try ( java . io . IDENT_13 IDENT_14 = IDENT_10 . create ( file ) ) { IDENT_9 . store ( IDENT_14 , IDENT_18 . METHOD_5 ( ) ) ; } org . apache . nifi . IDENT_0 . IDENT_1 . util . IDENT_8 . METHOD_8 ( file ) ; return IDENT_18 ; } else { throw new java . security . METHOD_9 ( ( ( ( ( ( STRING_3 + file ) + STRING_4 ) + ( java . lang . System . METHOD_10 ( ) ) ) + STRING_5 ) + ( org . apache . nifi . IDENT_0 . IDENT_1 . util . IDENT_8 . IDENT_19 ) ) ) ; } } else { throw e ; } } return IDENT_15 ; }
org . junit . Assert . assertEquals ( IDENT_4 , e )