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