METHOD_0 ( ) { org . junit . IDENT_0 . METHOD_1 ( IDENT_1 . IDENT_2 ) ; org . apache . IDENT_3 . IDENT_4 pipeline = new org . apache . IDENT_3 . impl . IDENT_5 . METHOD_2 ( org . apache . IDENT_3 . io . avro . IDENT_6 . class , IDENT_7 . METHOD_3 ( ) ) ; org . apache . IDENT_3 . IDENT_8 < org . apache . IDENT_3 . IDENT_9 < org . apache . IDENT_3 . test . IDENT_10 , org . apache . IDENT_3 . test . Person > > IDENT_11 = pipeline . METHOD_4 ( IDENT_7 . METHOD_5 ( STRING_0 ) ) . METHOD_6 ( new org . apache . IDENT_3 . IDENT_12 < java . lang . String , org . apache . IDENT_3 . IDENT_9 < org . apache . IDENT_3 . test . IDENT_10 , org . apache . IDENT_3 . test . Person > > ( ) { @ org . apache . IDENT_3 . io . avro . Override public org . apache . IDENT_3 . IDENT_9 < org . apache . IDENT_3 . test . IDENT_10 , org . apache . IDENT_3 . test . Person > map ( java . lang . String input ) { org . apache . IDENT_3 . test . Person person = new org . apache . IDENT_3 . test . Person ( ) ; person . name = input ; person . IDENT_13 = INT_0 ; person . IDENT_14 = com . google . common . collect . Lists . < java . lang . IDENT_15 > newArrayList ( input ) ; return org . apache . IDENT_3 . IDENT_9 . of ( new org . apache . IDENT_3 . test . METHOD_7 ( input ) , person ) ; } } , org . apache . IDENT_3 . types . avro . IDENT_1 . METHOD_8 ( org . apache . IDENT_3 . types . avro . IDENT_1 . METHOD_9 ( org . apache . IDENT_3 . test . METHOD_7 . class ) , org . apache . IDENT_3 . types . avro . IDENT_1 . records ( org . apache . IDENT_3 . test . Person . class ) ) ) ; org . apache . IDENT_3 . IDENT_8 < org . apache . IDENT_3 . IDENT_9 < java . lang . String , java . lang . Long > > IDENT_16 = org . apache . IDENT_3 . lib . IDENT_17 . count ( IDENT_11 ) . METHOD_6 ( new org . apache . IDENT_3 . IDENT_12 < org . apache . IDENT_3 . IDENT_9 < org . apache . IDENT_3 . IDENT_9 < org . apache . IDENT_3 . test . METHOD_7 , org . apache . IDENT_3 . test . Person > , java . lang . Long > , org . apache . IDENT_3 . IDENT_9 < java . lang . String , java . lang . Long > > ( ) { @ org . apache . IDENT_3 . io . avro . Override public org . apache . IDENT_3 . IDENT_9 < java . lang . String , java . lang . Long > map ( org . apache . IDENT_3 . IDENT_9 < org . apache . IDENT_3 . IDENT_9 < org . apache . IDENT_3 . test . METHOD_7 , org . apache . IDENT_3 . test . Person > , java . lang . Long > input ) { return org . apache . IDENT_3 . IDENT_9 . of ( input . first ( ) . first ( ) . getValue ( ) , input . METHOD_10 ( ) ) ; } } , org . apache . IDENT_3 . types . avro . IDENT_1 . METHOD_8 ( org . apache . IDENT_3 . types . avro . IDENT_1 . METHOD_11 ( ) , org . apache . IDENT_3 . types . avro . IDENT_1 . METHOD_12 ( ) ) ) ; java . util . List < org . apache . IDENT_3 . IDENT_9 < java . lang . String , java . lang . Long > > IDENT_18 = com . google . common . collect . Lists . newArrayList ( IDENT_16 . METHOD_13 ( ) ) ; java . util . List < org . apache . IDENT_3 . IDENT_9 < java . lang . String , java . lang . Long > > expected = com . google . common . collect . Lists . newArrayList ( org . apache . IDENT_3 . IDENT_9 . of ( "a" , 1L ) , org . apache . IDENT_3 . IDENT_9 . of ( "b" , 1L ) , org . apache . IDENT_3 . IDENT_9 . of ( STRING_1 , 1L ) , org . apache . IDENT_3 . IDENT_9 . of ( STRING_2 , 1L ) ) ; java . util . Collections . METHOD_14 ( IDENT_18 ) ; "<AssertPlaceHolder>" ; pipeline . METHOD_15 ( ) ; } METHOD_14 ( org . apache . IDENT_3 . IDENT_19 ) { return org . apache . IDENT_3 . lib . IDENT_20 . METHOD_14 ( table , org . apache . IDENT_3 . lib . IDENT_20 . IDENT_21 . IDENT_22 ) ; }
org . junit . Assert . assertEquals ( expected , IDENT_18 )