METHOD_0 ( ) { for ( java . lang . String line : java . lang . String . format ( ( STRING_0 + ( ( ( STRING_1 + STRING_2 ) + STRING_3 ) + STRING_4 ) ) , com . IDENT_0 . IDENT_1 . IDENT_2 . load . IDENT_3 . IDENT_4 . class . getName ( ) , com . IDENT_0 . data . IDENT_5 . IDENT_6 . IDENT_7 . Person . class . getName ( ) , IDENT_8 . METHOD_1 ( ) . toString ( ) , IDENT_9 . METHOD_1 ( ) . toString ( ) , com . IDENT_0 . IDENT_1 . IDENT_2 . store . IDENT_10 . class . getName ( ) , com . IDENT_0 . data . IDENT_5 . IDENT_6 . IDENT_7 . Person . class . getName ( ) ) . split ( "\n" ) ) { IDENT_11 . METHOD_2 ( ( line + "\n" ) ) ; } com . IDENT_0 . IDENT_1 . mapreduce . io . IDENT_12 < com . IDENT_0 . data . IDENT_5 . IDENT_6 . IDENT_7 . Person > IDENT_13 = com . IDENT_0 . IDENT_1 . mapreduce . io . IDENT_12 . newInstance ( com . IDENT_0 . data . IDENT_5 . IDENT_6 . IDENT_7 . Person . class ) ; org . apache . hadoop . mapreduce . IDENT_14 < org . apache . hadoop . io . IDENT_15 , org . apache . hadoop . io . IDENT_15 > IDENT_16 = com . IDENT_0 . IDENT_1 . IDENT_2 . load . IDENT_3 . METHOD_3 ( com . IDENT_0 . data . IDENT_5 . IDENT_6 . IDENT_7 . Person . class , new java . io . File ( IDENT_9 , STRING_5 ) ) ; for ( com . IDENT_0 . data . IDENT_5 . IDENT_6 . IDENT_7 . Person person : records ) { IDENT_13 . set ( person ) ; IDENT_16 . write ( null , IDENT_13 ) ; } IDENT_16 . close ( null ) ; com . IDENT_0 . IDENT_1 . mapreduce . io . IDENT_12 < com . IDENT_0 . data . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_17 > IDENT_18 = com . IDENT_0 . IDENT_1 . mapreduce . io . IDENT_12 . newInstance ( com . IDENT_0 . data . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_17 . class ) ; IDENT_16 = com . IDENT_0 . IDENT_1 . IDENT_2 . load . IDENT_3 . METHOD_3 ( com . IDENT_0 . data . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_17 . class , new java . io . File ( IDENT_9 , STRING_6 ) ) ; for ( com . IDENT_0 . data . IDENT_5 . IDENT_6 . IDENT_7 . Person person : records ) { IDENT_18 . set ( com . IDENT_0 . data . IDENT_5 . IDENT_6 . IDENT_7 . IDENT_17 . METHOD_4 ( ) . METHOD_5 ( person . toByteArray ( ) ) . build ( ) ) ; IDENT_16 . write ( null , IDENT_18 ) ; } IDENT_16 . close ( null ) ; IDENT_11 . METHOD_2 ( java . lang . String . format ( STRING_7 , IDENT_9 . METHOD_1 ( ) . toString ( ) , com . IDENT_0 . IDENT_1 . IDENT_2 . load . IDENT_19 . class . getName ( ) , com . IDENT_0 . data . IDENT_5 . IDENT_6 . IDENT_7 . Person . class . getName ( ) ) ) ; java . util . Iterator < org . apache . IDENT_2 . data . IDENT_20 > IDENT_21 = IDENT_11 . METHOD_6 ( STRING_8 ) ; for ( int i = 0 ; i < 3 ; i ++ ) { for ( com . IDENT_0 . data . IDENT_5 . IDENT_6 . IDENT_7 . Person person : records ) { java . lang . String expected = com . IDENT_0 . IDENT_1 . IDENT_2 . load . IDENT_3 . METHOD_7 ( person ) ; "<AssertPlaceHolder>" ; } } org . apache . hadoop . fs . IDENT_22 . METHOD_8 ( new java . io . File ( IDENT_23 ) ) ; } next ( ) { return IDENT_24 . get ( ) ; }
org . junit . Assert . assertEquals ( expected , IDENT_21 . next ( ) . toString ( ) )