METHOD_0 ( ) { org . apache . IDENT_0 . IDENT_1 pipeline = new org . apache . IDENT_0 . impl . spark . METHOD_1 ( STRING_0 , STRING_1 ) ; pipeline . METHOD_2 ( ) ; java . lang . String IDENT_2 = IDENT_3 . METHOD_3 ( STRING_2 ) ; org . apache . IDENT_0 . IDENT_4 < org . apache . IDENT_0 . IDENT_5 < java . lang . String , org . apache . IDENT_0 . test . IDENT_6 > > in = pipeline . METHOD_4 ( IDENT_2 ) . METHOD_5 ( new org . apache . IDENT_0 . IDENT_7 < java . lang . String , org . apache . IDENT_0 . IDENT_5 < java . lang . String , org . apache . IDENT_0 . test . IDENT_6 > > ( ) { @ org . apache . IDENT_0 . Override public org . apache . IDENT_0 . IDENT_5 < java . lang . String , org . apache . IDENT_0 . test . IDENT_6 > map ( java . lang . String input ) { return org . apache . IDENT_0 . IDENT_5 . of ( input , METHOD_6 ( input ) ) ; } } , org . apache . IDENT_0 . types . avro . IDENT_8 . METHOD_7 ( org . apache . IDENT_0 . types . avro . IDENT_8 . METHOD_8 ( ) , org . apache . IDENT_0 . types . avro . IDENT_8 . METHOD_9 ( org . apache . IDENT_0 . test . IDENT_6 . class ) ) ) ; org . apache . IDENT_0 . IDENT_4 < org . apache . IDENT_0 . IDENT_5 < java . lang . String , org . apache . IDENT_0 . test . IDENT_6 > > IDENT_9 = org . apache . IDENT_0 . lib . IDENT_10 . METHOD_10 ( in , IDENT_10 . IDENT_11 . IDENT_12 ) ; java . util . List < org . apache . IDENT_0 . IDENT_5 < java . lang . String , org . apache . IDENT_0 . test . IDENT_6 > > expected = com . google . common . collect . Lists . newArrayList ( ) ; expected . add ( org . apache . IDENT_0 . IDENT_5 . of ( "a" , METHOD_6 ( "a" ) ) ) ; expected . add ( org . apache . IDENT_0 . IDENT_5 . of ( STRING_3 , METHOD_6 ( STRING_3 ) ) ) ; expected . add ( org . apache . IDENT_0 . IDENT_5 . of ( STRING_4 , METHOD_6 ( STRING_4 ) ) ) ; "<AssertPlaceHolder>" ; pipeline . METHOD_11 ( ) ; } METHOD_12 ( ) { try { IDENT_13 = source . read ( pipeline . METHOD_13 ( ) ) ; } catch ( java . io . IOException e ) { org . apache . IDENT_0 . METHOD_12 . IDENT_14 . LOG . error ( STRING_5 , source , e ) ; throw new org . apache . IDENT_0 . METHOD_14 ( e ) ; } }
org . junit . Assert . assertEquals ( expected , com . google . common . collect . Lists . newArrayList ( IDENT_9 . METHOD_12 ( ) ) )