METHOD_0 ( ) { org . apache . spark . api . java . IDENT_0 < org . apache . spark . sql . IDENT_1 > IDENT_2 = IDENT_3 . METHOD_1 ( com . IDENT_4 . IDENT_5 . IDENT_6 . adapter . Arrays . asList ( org . apache . spark . sql . IDENT_7 . create ( 1 , STRING_0 , STRING_1 ) , org . apache . spark . sql . IDENT_7 . create ( 1 , STRING_2 , STRING_3 ) ) ) ; com . IDENT_4 . IDENT_5 . IDENT_6 . adapter . IDENT_8 schema = new com . IDENT_4 . IDENT_5 . IDENT_6 . adapter . METHOD_2 ( new com . IDENT_4 . IDENT_5 . IDENT_6 . adapter . IDENT_9 [ ] { new com . IDENT_4 . IDENT_5 . IDENT_6 . adapter . METHOD_3 ( STRING_4 , IDENT_10 . IDENT_11 , false , com . IDENT_4 . IDENT_5 . IDENT_6 . adapter . IDENT_12 . empty ( ) ) , new com . IDENT_4 . IDENT_5 . IDENT_6 . adapter . METHOD_3 ( STRING_5 , IDENT_10 . IDENT_13 , true , com . IDENT_4 . IDENT_5 . IDENT_6 . adapter . IDENT_12 . empty ( ) ) , new com . IDENT_4 . IDENT_5 . IDENT_6 . adapter . METHOD_3 ( STRING_6 , IDENT_10 . IDENT_13 , true , com . IDENT_4 . IDENT_5 . IDENT_6 . adapter . IDENT_12 . empty ( ) ) } ) ; org . apache . spark . sql . IDENT_14 < org . apache . spark . sql . IDENT_1 > IDENT_15 = spark . METHOD_4 ( IDENT_2 , schema ) ; com . IDENT_4 . IDENT_16 . IDENT_6 . IDENT_17 IDENT_18 = new com . IDENT_4 . IDENT_16 . IDENT_6 . METHOD_5 ( ) . METHOD_6 ( STRING_5 ) . METHOD_7 ( STRING_6 ) . METHOD_8 ( STRING_7 ) ; byte [ ] IDENT_19 = com . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_20 . IDENT_21 . METHOD_9 ( IDENT_18 ) ; com . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_16 . IDENT_22 IDENT_16 = com . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_23 . IDENT_24 . METHOD_10 ( IDENT_19 ) ; com . IDENT_4 . IDENT_5 . IDENT_6 . adapter . List < org . apache . spark . sql . IDENT_1 > IDENT_25 = IDENT_18 . transform ( IDENT_15 ) . METHOD_11 ( STRING_4 ) . select ( STRING_5 , STRING_6 , STRING_7 ) . METHOD_12 ( ) ; for ( org . apache . spark . sql . IDENT_1 row : IDENT_25 ) { com . IDENT_4 . IDENT_5 . IDENT_6 . adapter . Map < java . lang . String , java . lang . Object > data = new com . IDENT_4 . IDENT_5 . IDENT_6 . adapter . HashMap < java . lang . String , java . lang . Object > ( ) ; data . put ( IDENT_18 . METHOD_13 ( ) , row . get ( 0 ) ) ; data . put ( IDENT_18 . METHOD_14 ( ) , row . get ( 1 ) ) ; IDENT_16 . transform ( data ) ; java . lang . String actual = ( ( java . lang . String ) ( data . get ( IDENT_18 . METHOD_15 ( ) ) ) ) ; "<AssertPlaceHolder>" ; } } transform ( com . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_16 . Map ) { java . lang . String IDENT_26 = ( ( java . lang . String ) ( input . get ( IDENT_27 . METHOD_16 ( ) . iterator ( ) . next ( ) ) ) ) ; input . put ( IDENT_27 . METHOD_17 ( ) . iterator ( ) . next ( ) , METHOD_18 ( IDENT_26 ) ) ; }
org . junit . Assert . assertEquals ( actual , row . get ( 2 ) )