METHOD_0 ( ) { org . nd4j . linalg . io . IDENT_0 IDENT_1 = new org . nd4j . linalg . io . METHOD_1 ( STRING_0 ) ; java . io . File f = IDENT_1 . METHOD_2 ( ) ; org . IDENT_2 . api . records . reader . IDENT_3 IDENT_4 = new org . IDENT_2 . api . records . reader . impl . IDENT_5 . METHOD_3 ( ) ; IDENT_4 . METHOD_4 ( new org . IDENT_2 . api . split . METHOD_5 ( f ) ) ; org . IDENT_6 . IDENT_7 . IDENT_2 . IDENT_8 IDENT_9 = new org . IDENT_6 . IDENT_7 . IDENT_2 . IDENT_8 . Builder ( 1 ) . METHOD_6 ( STRING_1 , IDENT_4 ) . METHOD_7 ( STRING_1 , 0 , 3 ) . METHOD_8 ( STRING_1 , 4 , 3 ) . build ( ) ; org . IDENT_6 . IDENT_7 . IDENT_2 . IDENT_8 IDENT_10 = new org . IDENT_6 . IDENT_7 . IDENT_2 . IDENT_8 . Builder ( 1 ) . METHOD_6 ( STRING_1 , new org . IDENT_6 . spark . IDENT_2 . iterator . METHOD_9 ( 0 ) ) . METHOD_7 ( STRING_1 , 0 , 3 ) . METHOD_8 ( STRING_1 , 4 , 3 ) . build ( ) ; org . IDENT_6 . spark . IDENT_2 . iterator . List < org . nd4j . linalg . dataset . api . IDENT_11 > expected = new org . IDENT_6 . spark . IDENT_2 . iterator . ArrayList ( INT_0 ) ; while ( IDENT_9 . hasNext ( ) ) { expected . add ( IDENT_9 . next ( ) ) ; } org . apache . spark . api . java . IDENT_12 < org . IDENT_6 . spark . IDENT_2 . iterator . List < org . IDENT_2 . api . IDENT_13 . IDENT_14 > > IDENT_15 = IDENT_16 . METHOD_10 ( f . getPath ( ) ) . METHOD_11 ( 1 ) . map ( new org . IDENT_2 . spark . transform . IDENT_17 . METHOD_12 ( new org . IDENT_2 . api . records . reader . impl . IDENT_5 . METHOD_3 ( ) ) ) ; org . apache . spark . api . java . IDENT_12 < org . nd4j . linalg . dataset . api . IDENT_11 > IDENT_18 = org . IDENT_6 . spark . IDENT_2 . iterator . IDENT_19 . METHOD_13 ( IDENT_15 , IDENT_10 ) ; org . IDENT_6 . spark . IDENT_2 . iterator . List < org . nd4j . linalg . dataset . api . IDENT_11 > IDENT_20 = IDENT_18 . collect ( ) ; "<AssertPlaceHolder>" ; } METHOD_13 ( org . apache . spark . api . java . IDENT_12 , org . IDENT_6 . IDENT_7 . IDENT_2 . IDENT_8 ) { org . IDENT_6 . spark . IDENT_2 . iterator . IDENT_19 . METHOD_14 ( iterator , 1 , 0 ) ; return org . IDENT_6 . spark . IDENT_2 . iterator . IDENT_19 . METHOD_15 ( IDENT_15 . map ( new org . apache . spark . api . java . function . IDENT_21 < org . IDENT_6 . spark . IDENT_2 . iterator . List < org . IDENT_2 . api . IDENT_13 . IDENT_14 > , org . IDENT_6 . spark . IDENT_2 . iterator . IDENT_22 > ( ) { @ org . IDENT_6 . spark . IDENT_2 . iterator . Override public org . IDENT_6 . spark . IDENT_2 . iterator . IDENT_22 call ( org . IDENT_6 . spark . IDENT_2 . iterator . List < org . IDENT_2 . api . IDENT_13 . IDENT_14 > v1 ) throws org . IDENT_6 . spark . IDENT_2 . iterator . Exception { return new org . IDENT_6 . spark . IDENT_2 . iterator . METHOD_16 ( org . IDENT_6 . spark . IDENT_2 . iterator . Collections . singletonList ( v1 ) , null ) ; } } ) , iterator ) ; }
org . junit . Assert . assertEquals ( expected , IDENT_20 )