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