METHOD_0 ( ) { final org . apache . hadoop . fs . Path IDENT_0 = new org . apache . hadoop . fs . Path ( METHOD_1 ( ) ) ; final org . apache . hadoop . fs . Path IDENT_1 = new org . apache . hadoop . fs . Path ( IDENT_0 , STRING_0 ) ; final org . apache . hadoop . conf . Configuration IDENT_2 = new org . apache . hadoop . conf . Configuration ( ) ; final org . apache . hadoop . fs . IDENT_3 IDENT_4 = IDENT_1 . METHOD_2 ( IDENT_2 ) ; "<AssertPlaceHolder>" ; final org . apache . IDENT_5 . IDENT_6 . IDENT_7 IDENT_8 = new org . apache . IDENT_5 . IDENT_6 . METHOD_3 ( INT_0 ) ; com . IDENT_9 . options . IDENT_10 IDENT_11 = mock ( com . IDENT_9 . options . IDENT_10 . class ) ; when ( IDENT_11 . METHOD_4 ( IDENT_12 . IDENT_13 ) ) . thenReturn ( STRING_1 ) ; when ( IDENT_11 . METHOD_4 ( IDENT_12 . IDENT_14 ) ) . thenReturn ( INT_1 ) ; when ( IDENT_11 . METHOD_4 ( IDENT_12 . IDENT_15 ) ) . thenReturn ( 1L ) ; com . IDENT_9 . IDENT_16 . exec . context . IDENT_17 IDENT_18 = mock ( com . IDENT_9 . IDENT_16 . exec . context . IDENT_17 . class ) ; com . IDENT_9 . IDENT_16 . exec . context . IDENT_19 IDENT_20 = mock ( com . IDENT_9 . IDENT_16 . exec . context . IDENT_19 . class ) ; when ( IDENT_20 . METHOD_5 ( ) ) . thenReturn ( IDENT_21 . IDENT_22 . METHOD_6 ( ) . METHOD_7 ( INT_2 ) . METHOD_8 ( INT_3 ) . build ( ) ) ; when ( IDENT_20 . METHOD_9 ( ) ) . thenReturn ( IDENT_8 ) ; when ( IDENT_20 . METHOD_10 ( ) ) . thenReturn ( IDENT_11 ) ; when ( IDENT_20 . METHOD_11 ( ) ) . thenReturn ( IDENT_18 ) ; com . IDENT_9 . exec . store . IDENT_23 . IDENT_24 IDENT_25 = mock ( com . IDENT_9 . exec . store . IDENT_23 . IDENT_24 . class ) ; when ( IDENT_25 . METHOD_12 ( ) ) . thenReturn ( IDENT_2 ) ; when ( IDENT_25 . METHOD_13 ( ) ) . thenReturn ( IDENT_1 . METHOD_14 ( ) . toString ( ) ) ; when ( IDENT_25 . METHOD_15 ( ) ) . thenReturn ( STRING_2 ) ; com . IDENT_9 . exec . store . IDENT_23 . IDENT_26 IDENT_27 = mock ( com . IDENT_9 . exec . store . IDENT_23 . IDENT_26 . class ) ; com . IDENT_9 . exec . store . IDENT_28 . IDENT_29 IDENT_30 = mock ( com . IDENT_9 . exec . store . IDENT_28 . IDENT_29 . class ) ; when ( IDENT_27 . METHOD_16 ( ) ) . thenReturn ( IDENT_30 ) ; org . apache . hadoop . security . IDENT_31 IDENT_32 = mock ( org . apache . hadoop . security . IDENT_31 . class ) ; when ( IDENT_25 . METHOD_17 ( ) ) . thenReturn ( IDENT_32 ) ; com . IDENT_9 . exec . store . IDENT_23 . IDENT_33 writer = new com . IDENT_9 . exec . store . IDENT_23 . METHOD_18 ( IDENT_20 , IDENT_25 , new com . IDENT_9 . exec . store . IDENT_23 . METHOD_19 ( ) ) ; com . IDENT_9 . exec . store . IDENT_34 . IDENT_35 IDENT_36 = mock ( IDENT_34 . IDENT_35 . class ) ; com . IDENT_9 . exec . store . IDENT_34 . IDENT_37 IDENT_38 = mock ( IDENT_34 . IDENT_37 . class ) ; org . apache . IDENT_5 . IDENT_39 . IDENT_40 IDENT_41 = new org . apache . IDENT_5 . IDENT_39 . METHOD_20 ( STRING_3 , IDENT_8 ) ; IDENT_41 . METHOD_21 ( 2 ) ; IDENT_41 . set ( 0 , INT_4 ) ; IDENT_41 . set ( 1 , INT_5 ) ; com . IDENT_9 . exec . record . IDENT_42 container = new com . IDENT_9 . exec . record . METHOD_22 ( ) ; container . add ( IDENT_41 ) ; container . METHOD_23 ( 2 ) ; container . METHOD_24 ( IDENT_43 . IDENT_44 . IDENT_45 ) ; writer . METHOD_25 ( container , IDENT_36 , IDENT_38 ) ; writer . METHOD_26 ( IDENT_46 . IDENT_45 ) ; writer . METHOD_27 ( 0 , container . METHOD_28 ( ) ) ; container . METHOD_29 ( ) ; try { writer . close ( ) ; } catch ( java . lang . Exception e ) { } container . close ( ) ; IDENT_8 . close ( ) ; } METHOD_30 ( org . apache . hadoop . fs . Path ) { try ( com . IDENT_9 . IDENT_16 . exec . context . IDENT_17 . IDENT_47 IDENT_48 = com . IDENT_9 . IDENT_16 . exec . context . IDENT_17 . METHOD_31 ( IDENT_18 ) ) { if ( ! ( IDENT_49 . exists ( IDENT_50 ) ) ) { return IDENT_49 . METHOD_30 ( IDENT_50 ) ; } else if ( ! ( IDENT_49 . METHOD_32 ( IDENT_50 ) . METHOD_33 ( ) ) ) { throw new java . io . IOException ( STRING_4 ) ; } return false ; } catch ( org . apache . hadoop . fs . IDENT_51 e ) { throw com . IDENT_9 . exec . store . IDENT_28 . IDENT_52 . METHOD_34 ( e ) ; } }
org . junit . Assert . assertTrue ( IDENT_4 . METHOD_30 ( IDENT_1 ) )