METHOD_0 ( ) { int IDENT_0 = 0 ; int IDENT_1 = 6 ; byte [ ] expected = org . apache . hadoop . hdfs . IDENT_2 . METHOD_1 ( ( ( org . apache . hadoop . hdfs . IDENT_3 . IDENT_4 ) * IDENT_1 ) ) ; org . apache . hadoop . fs . Path file = new org . apache . hadoop . fs . Path ( IDENT_5 , STRING_0 ) ; org . apache . hadoop . fs . IDENT_6 out ; for ( int split = 0 ; split < IDENT_1 ; split ++ ) { if ( split == 0 ) { out = IDENT_7 . create ( file ) ; } else { out = IDENT_7 . append ( file , java . util . IDENT_8 . of ( IDENT_9 . IDENT_10 , IDENT_9 . IDENT_11 ) , INT_0 , null ) ; } int IDENT_12 = org . apache . hadoop . hdfs . IDENT_3 . IDENT_13 . METHOD_2 ( org . apache . hadoop . hdfs . IDENT_3 . IDENT_4 ) ; out . write ( expected , IDENT_0 , IDENT_12 ) ; IDENT_0 += IDENT_12 ; out . close ( ) ; } expected = java . util . Arrays . METHOD_3 ( expected , IDENT_0 ) ; org . apache . hadoop . hdfs . protocol . IDENT_14 IDENT_15 = IDENT_7 . METHOD_4 ( ) . METHOD_5 ( file . toString ( ) , 0L , Long . MAX_VALUE ) ; "<AssertPlaceHolder>" ; org . apache . hadoop . hdfs . IDENT_2 . METHOD_6 ( IDENT_7 , file , IDENT_0 , expected , new byte [ INT_0 ] ) ; org . apache . hadoop . hdfs . IDENT_2 . METHOD_7 ( IDENT_7 , file , IDENT_0 , org . apache . hadoop . hdfs . IDENT_2 . METHOD_8 ( ) , IDENT_1 ) ; } METHOD_5 ( ) { return IDENT_16 ; }
org . junit . Assert . assertEquals ( IDENT_1 , IDENT_15 . METHOD_5 ( ) . size ( ) )