METHOD_0 ( ) { io . cdap . cdap . api . data . schema . Schema schema = io . cdap . cdap . api . data . schema . Schema . METHOD_1 ( STRING_0 0 , Schema . Field . of ( "name" , io . cdap . cdap . api . data . schema . Schema . of ( Schema . Type . IDENT_0 ) ) ) ; io . cdap . cdap . IDENT_1 . IDENT_2 . v2 . IDENT_3 IDENT_4 = io . cdap . cdap . IDENT_1 . IDENT_2 . v2 . IDENT_3 . builder ( ) . METHOD_2 ( new io . cdap . cdap . IDENT_1 . IDENT_2 . v2 . METHOD_3 ( STRING_1 , io . cdap . cdap . IDENT_1 . mock . batch . IDENT_5 . METHOD_4 ( STRING_2 , schema ) ) ) . METHOD_2 ( new io . cdap . cdap . IDENT_1 . IDENT_2 . v2 . METHOD_3 ( STRING_3 , io . cdap . cdap . IDENT_1 . mock . batch . IDENT_6 . METHOD_4 ( STRING_4 ) ) ) . METHOD_5 ( STRING_1 , STRING_3 ) . build ( ) ; io . cdap . cdap . IDENT_2 . IDENT_7 . IDENT_8 < io . cdap . cdap . IDENT_1 . IDENT_2 . v2 . IDENT_3 > IDENT_9 = new io . cdap . cdap . IDENT_2 . IDENT_7 . METHOD_6 ( io . cdap . cdap . IDENT_10 . IDENT_11 . IDENT_12 , IDENT_4 ) ; io . cdap . cdap . IDENT_2 . id . IDENT_13 IDENT_14 = IDENT_15 . IDENT_16 . app ( STRING_5 ) ; io . cdap . cdap . test . IDENT_17 IDENT_18 = METHOD_7 ( IDENT_14 , IDENT_9 ) ; io . cdap . cdap . api . data . format . IDENT_19 IDENT_20 = io . cdap . cdap . api . data . format . IDENT_19 . builder ( schema ) . set ( "name" , STRING_0 ) . build ( ) ; io . cdap . cdap . api . data . format . IDENT_19 IDENT_21 = io . cdap . cdap . api . data . format . IDENT_19 . builder ( schema ) . set ( "name" , STRING_6 ) . build ( ) ; io . cdap . cdap . test . IDENT_22 < io . cdap . cdap . api . dataset . table . IDENT_23 > IDENT_24 = METHOD_8 ( IDENT_15 . IDENT_16 . dataset ( STRING_2 ) ) ; io . cdap . cdap . IDENT_1 . mock . batch . IDENT_5 . METHOD_9 ( IDENT_24 , com . google . common . collect . ImmutableList . of ( IDENT_20 , IDENT_21 ) ) ; io . cdap . cdap . test . IDENT_25 IDENT_26 = IDENT_18 . METHOD_10 ( IDENT_27 . IDENT_28 ) ; IDENT_26 . start ( ) ; IDENT_26 . METHOD_11 ( IDENT_29 . IDENT_30 , 5 , TimeUnit . IDENT_31 ) ; io . cdap . cdap . test . IDENT_22 < io . cdap . cdap . api . dataset . table . IDENT_23 > IDENT_32 = METHOD_8 ( STRING_4 ) ; java . util . Set < io . cdap . cdap . api . data . format . IDENT_19 > expected = com . google . common . collect . IDENT_33 . of ( IDENT_20 , IDENT_21 ) ; java . util . Set < io . cdap . cdap . api . data . format . IDENT_19 > actual = com . google . common . collect . IDENT_34 . METHOD_12 ( io . cdap . cdap . IDENT_1 . mock . batch . IDENT_6 . METHOD_13 ( IDENT_32 ) ) ; "<AssertPlaceHolder>" ; METHOD_14 ( 2 , IDENT_14 , STRING_7 ) ; METHOD_14 ( 2 , IDENT_14 , STRING_8 ) ; } METHOD_13 ( io . cdap . cdap . test . IDENT_22 ) { IDENT_35 . METHOD_15 ( ) ; io . cdap . cdap . api . dataset . table . IDENT_23 table = IDENT_35 . get ( ) ; try ( io . cdap . cdap . api . dataset . table . IDENT_36 IDENT_37 = table . METHOD_16 ( null , null ) ) { java . util . List < io . cdap . cdap . api . data . format . IDENT_19 > records = new java . util . ArrayList ( ) ; io . cdap . cdap . api . dataset . table . IDENT_38 row ; while ( ( row = IDENT_37 . next ( ) ) != null ) { io . cdap . cdap . api . data . schema . Schema schema = io . cdap . cdap . api . data . schema . Schema . METHOD_17 ( row . getString ( io . cdap . cdap . IDENT_1 . mock . batch . IDENT_6 . IDENT_39 ) ) ; java . lang . String IDENT_40 = row . getString ( io . cdap . cdap . IDENT_1 . mock . batch . IDENT_6 . IDENT_41 ) ; records . add ( io . cdap . cdap . format . IDENT_42 . METHOD_18 ( IDENT_40 , schema ) ) ; } return records ; } }
org . junit . Assert . assertEquals ( expected , actual )