METHOD_0 ( ) { java . io . File IDENT_0 = IDENT_1 . METHOD_1 ( STRING_0 ) ; java . io . File IDENT_2 = new java . io . File ( IDENT_0 , STRING_1 ) ; org . apache . commons . io . IDENT_3 . METHOD_2 ( IDENT_2 , STRING_2 , java . nio . IDENT_4 . IDENT_5 . METHOD_3 ( STRING_3 ) ) ; IDENT_6 . IDENT_7 . hadoop . IDENT_8 IDENT_9 = new IDENT_6 . IDENT_7 . hadoop . METHOD_4 ( new IDENT_6 . IDENT_10 . hadoop . METHOD_5 ( fields ) , IDENT_0 . getAbsolutePath ( ) ) ; com . IDENT_11 . IDENT_12 . IDENT_13 actual = new com . IDENT_11 . IDENT_12 . METHOD_6 ( IDENT_9 ) . read ( ) ; "<AssertPlaceHolder>" ; } read ( ) { IDENT_6 . tuple . IDENT_14 IDENT_15 = null ; try { java . lang . Class < ? > IDENT_16 = com . IDENT_11 . IDENT_12 . IDENT_17 . METHOD_7 ( source ) ; if ( org . apache . hadoop . conf . Configuration . class . equals ( IDENT_16 ) ) { IDENT_15 = METHOD_8 ( ) ; } else if ( java . util . Properties . class . equals ( IDENT_16 ) ) { IDENT_15 = METHOD_9 ( ) ; } else { throw new java . lang . IllegalArgumentException ( ( STRING_4 + ( source . getClass ( ) ) ) ) ; } java . util . List < IDENT_6 . tuple . IDENT_18 > IDENT_19 = new java . util . ArrayList < IDENT_6 . tuple . IDENT_18 > ( ) ; while ( IDENT_15 . hasNext ( ) ) { IDENT_19 . add ( new IDENT_6 . tuple . METHOD_10 ( IDENT_15 . next ( ) . METHOD_11 ( ) ) ) ; } return new com . IDENT_11 . IDENT_12 . METHOD_12 ( source . METHOD_13 ( ) , java . util . Collections . METHOD_14 ( IDENT_19 ) ) ; } finally { if ( IDENT_15 != null ) { IDENT_15 . close ( ) ; } } }
org . junit . Assert . assertThat ( actual , org . hamcrest . CoreMatchers . is ( expected ) )