METHOD_0 ( ) { final int IDENT_0 = 7 ; org . apache . hadoop . fs . Path p = new org . apache . hadoop . fs . Path ( STRING_0 ) ; org . apache . hadoop . fs . Path IDENT_1 = org . apache . hadoop . mapreduce . task . IDENT_2 . IDENT_3 . METHOD_1 ( p , IDENT_0 ) ; org . apache . hadoop . fs . IDENT_4 IDENT_5 = mock ( org . apache . hadoop . fs . IDENT_4 . class , org . apache . hadoop . mapreduce . task . IDENT_2 . IDENT_6 ) ; org . apache . hadoop . mapreduce . task . IDENT_2 . IDENT_7 < org . apache . hadoop . io . IDENT_8 , org . apache . hadoop . io . IDENT_8 > IDENT_9 = METHOD_2 ( new org . apache . hadoop . mapreduce . task . IDENT_2 . IDENT_3 < org . apache . hadoop . io . IDENT_8 , org . apache . hadoop . io . IDENT_8 > ( IDENT_10 , IDENT_11 , INT_0 , job , IDENT_0 , true , IDENT_5 , p ) ) ; when ( IDENT_11 . METHOD_3 ( any ( org . apache . hadoop . mapreduce . IDENT_12 . class ) , METHOD_4 ( ) , METHOD_5 ( ) ) ) . thenReturn ( IDENT_9 ) ; METHOD_6 ( ) . when ( IDENT_11 ) . METHOD_7 ( ) ; when ( IDENT_13 . METHOD_8 ( ) ) . thenReturn ( host ) ; java . lang . String IDENT_14 = org . apache . hadoop . mapreduce . security . IDENT_15 . METHOD_9 ( IDENT_16 . getBytes ( ) , key ) ; when ( connection . METHOD_10 ( ) ) . thenReturn ( 200 ) ; when ( connection . METHOD_11 ( IDENT_15 . IDENT_17 ) ) . thenReturn ( IDENT_14 ) ; org . apache . hadoop . mapreduce . task . IDENT_2 . IDENT_18 header = new org . apache . hadoop . mapreduce . task . IDENT_2 . METHOD_12 ( IDENT_10 . toString ( ) , 10 , 10 , 1 ) ; java . io . ByteArrayOutputStream IDENT_19 = new java . io . ByteArrayOutputStream ( ) ; header . write ( new java . io . METHOD_13 ( IDENT_19 ) ) ; final org . apache . hadoop . mapreduce . task . IDENT_2 . IDENT_20 . IDENT_21 in = new org . apache . hadoop . mapreduce . task . IDENT_2 . IDENT_20 . METHOD_14 ( new java . io . ByteArrayInputStream ( IDENT_19 . toByteArray ( ) ) ) ; when ( connection . METHOD_15 ( ) ) . thenReturn ( in ) ; when ( connection . METHOD_11 ( METHOD_12 . IDENT_22 ) ) . thenReturn ( METHOD_12 . IDENT_23 ) ; when ( connection . METHOD_11 ( METHOD_12 . IDENT_24 ) ) . thenReturn ( METHOD_12 . IDENT_25 ) ; METHOD_16 ( new org . mockito . IDENT_26 . IDENT_27 < java . lang . IDENT_28 > ( ) { public java . lang . IDENT_28 METHOD_17 ( org . mockito . IDENT_29 . IDENT_30 IDENT_31 ) throws java . io . IOException { in . close ( ) ; return null ; } } ) . when ( connection ) . METHOD_18 ( ) ; org . apache . hadoop . mapreduce . task . IDENT_2 . IDENT_32 < org . apache . hadoop . io . IDENT_8 , org . apache . hadoop . io . IDENT_8 > IDENT_33 = new org . apache . hadoop . mapreduce . task . IDENT_2 . IDENT_20 . IDENT_34 < org . apache . hadoop . io . IDENT_8 , org . apache . hadoop . io . IDENT_8 > ( job , id , IDENT_13 , IDENT_11 , r , metrics , IDENT_35 , key , connection , IDENT_0 ) ; IDENT_33 . start ( ) ; in . METHOD_19 ( ) ; IDENT_33 . METHOD_20 ( ) ; IDENT_33 . join ( ) ; "<AssertPlaceHolder>" ; verify ( IDENT_5 ) . create ( eq ( IDENT_1 ) ) ; verify ( IDENT_5 ) . delete ( eq ( IDENT_1 ) , eq ( false ) ) ; verify ( IDENT_9 ) . METHOD_21 ( ) ; } METHOD_22 ( ) { return IDENT_36 ; }
org . junit . Assert . assertTrue ( in . METHOD_22 ( ) )