METHOD_0 ( ) { org . apache . hadoop . conf . Configuration conf = new org . apache . hadoop . conf . Configuration ( ) ; conf . METHOD_1 ( IDENT_0 . IDENT_1 , true ) ; org . apache . hadoop . yarn . api . records . IDENT_2 resource = mock ( org . apache . hadoop . yarn . api . records . IDENT_2 . class ) ; org . apache . hadoop . fs . Path IDENT_3 = mock ( org . apache . hadoop . fs . Path . class ) ; when ( IDENT_3 . getName ( ) ) . thenReturn ( STRING_0 ) ; java . lang . String user = STRING_1 ; org . apache . hadoop . fs . IDENT_4 fs = mock ( org . apache . hadoop . fs . IDENT_4 . class ) ; when ( fs . METHOD_2 ( METHOD_3 ( org . apache . hadoop . fs . Path . class ) , METHOD_3 ( org . apache . hadoop . fs . Path . class ) ) ) . thenReturn ( true ) ; org . apache . hadoop . fs . IDENT_4 IDENT_5 = org . apache . hadoop . fs . IDENT_4 . METHOD_4 ( conf ) ; org . apache . hadoop . yarn . server . IDENT_6 . IDENT_7 . IDENT_8 . IDENT_9 . IDENT_10 IDENT_11 = METHOD_5 ( resource , IDENT_3 , user , conf , null , fs , IDENT_5 ) ; doReturn ( true ) . when ( IDENT_11 ) . METHOD_6 ( ) ; doReturn ( IDENT_3 ) . when ( IDENT_11 ) . METHOD_7 ( ) ; doReturn ( STRING_2 ) . when ( IDENT_11 ) . METHOD_8 ( METHOD_3 ( org . apache . hadoop . fs . Path . class ) ) ; doReturn ( true ) . when ( IDENT_11 ) . METHOD_9 ( METHOD_3 ( org . apache . hadoop . fs . Path . class ) , METHOD_3 ( org . apache . hadoop . fs . Path . class ) ) ; doReturn ( false ) . when ( IDENT_11 ) . METHOD_10 ( METHOD_3 ( java . lang . String . class ) , METHOD_3 ( java . lang . String . class ) ) ; "<AssertPlaceHolder>" ; verify ( fs ) . delete ( METHOD_3 ( org . apache . hadoop . fs . Path . class ) , METHOD_11 ( ) ) ; } call ( ) { io . IDENT_12 . transaction . handler . IDENT_13 IDENT_14 = new io . IDENT_12 . transaction . handler . METHOD_12 ( io . IDENT_12 . transaction . handler . IDENT_15 . IDENT_16 ) { @ org . apache . hadoop . hdfs . server . IDENT_17 . Override public void METHOD_13 ( io . IDENT_12 . transaction . IDENT_18 . IDENT_19 IDENT_20 ) throws java . io . IOException { io . IDENT_12 . transaction . IDENT_18 . IDENT_21 IDENT_22 = io . IDENT_12 . transaction . IDENT_18 . IDENT_21 . getInstance ( ) ; io . IDENT_12 . transaction . IDENT_18 . IDENT_23 IDENT_24 = IDENT_22 . METHOD_14 ( IDENT_25 . IDENT_26 , IDENT_27 . IDENT_28 , IDENT_29 ) . METHOD_15 ( IDENT_30 . METHOD_16 ( ) ) . METHOD_17 ( IDENT_30 . METHOD_18 ( ) . METHOD_19 ( ) . METHOD_20 ( ) ) . METHOD_21 ( ( ! ( IDENT_31 . METHOD_22 ( ) ) ) ) . METHOD_23 ( IDENT_32 ) ; IDENT_20 . add ( IDENT_24 ) . add ( IDENT_22 . METHOD_24 ( IDENT_33 . IDENT_34 ) ) . add ( IDENT_22 . METHOD_25 ( IDENT_33 . IDENT_35 ) ) . add ( IDENT_22 . METHOD_26 ( ) ) . add ( IDENT_22 . METHOD_27 ( IDENT_36 . IDENT_37 , IDENT_36 . IDENT_38 , IDENT_36 . IDENT_39 , IDENT_36 . IDENT_40 , IDENT_36 . IDENT_41 , IDENT_36 . IDENT_42 ) ) ; IDENT_20 . add ( IDENT_22 . METHOD_28 ( ) ) ; if ( IDENT_31 . METHOD_22 ( ) ) { IDENT_20 . add ( IDENT_22 . METHOD_29 ( true , IDENT_29 ) ) ; } if ( IDENT_30 . METHOD_30 ( ) ) { IDENT_20 . add ( IDENT_22 . METHOD_31 ( true , IDENT_33 . IDENT_34 , IDENT_29 ) ) ; } } @ org . apache . hadoop . hdfs . server . IDENT_17 . Override public java . lang . Object METHOD_32 ( ) throws java . io . IOException { final org . apache . hadoop . hdfs . server . IDENT_17 . IDENT_43 IDENT_44 = IDENT_31 . METHOD_33 ( IDENT_29 ) ; if ( ! ( org . apache . hadoop . hdfs . server . IDENT_17 . IDENT_45 . METHOD_34 ( IDENT_30 , IDENT_29 , IDENT_44 ) ) ) { throw new org . apache . hadoop . IDENT_46 . METHOD_35 ( ( ( ( STRING_3 + IDENT_29 ) + STRING_4 ) + STRING_5 ) ) ; } return true ; } } ; return ( ( java . lang . Boolean ) ( IDENT_14 . METHOD_36 ( this ) ) ) ; }
org . junit . Assert . assertFalse ( IDENT_11 . call ( ) )