METHOD_0 ( ) { io . cdap . cdap . api . data . schema . Schema schema = io . cdap . cdap . api . data . schema . Schema . METHOD_1 ( STRING_0 , Schema . Field . of ( STRING_1 , io . cdap . cdap . api . data . schema . Schema . of ( Schema . Type . IDENT_0 ) ) ) ; java . util . List < io . cdap . cdap . api . data . format . IDENT_1 > input = com . google . common . collect . ImmutableList . of ( io . cdap . cdap . api . data . format . IDENT_1 . builder ( schema ) . set ( STRING_1 , STRING_2 ) . build ( ) , io . cdap . cdap . api . data . format . IDENT_1 . builder ( schema ) . set ( STRING_1 , STRING_2 ) . build ( ) , io . cdap . cdap . api . data . format . IDENT_1 . builder ( schema ) . set ( STRING_1 , STRING_2 ) . build ( ) ) ; java . lang . String IDENT_2 = STRING_3 ; io . cdap . cdap . IDENT_3 . IDENT_4 . v2 . IDENT_5 IDENT_6 = io . cdap . cdap . IDENT_3 . IDENT_4 . v2 . IDENT_5 . builder ( ) . METHOD_2 ( new io . cdap . cdap . IDENT_3 . IDENT_4 . v2 . METHOD_3 ( STRING_4 0 , io . cdap . cdap . IDENT_3 . mock . spark . streaming . IDENT_7 . METHOD_4 ( schema , input , INT_0 ) ) ) . METHOD_2 ( new io . cdap . cdap . IDENT_3 . IDENT_4 . v2 . METHOD_3 ( STRING_4 , io . cdap . cdap . IDENT_3 . mock . spark . IDENT_8 . METHOD_4 ( INT_1 , 1 ) ) ) . METHOD_2 ( new io . cdap . cdap . IDENT_3 . IDENT_4 . v2 . METHOD_3 ( STRING_5 , io . cdap . cdap . IDENT_3 . mock . batch . IDENT_9 . IDENT_10 . METHOD_4 ( STRING_1 , STRING_4 2 ) ) ) . METHOD_2 ( new io . cdap . cdap . IDENT_3 . IDENT_4 . v2 . METHOD_3 ( STRING_6 , io . cdap . cdap . IDENT_3 . mock . transform . IDENT_11 . METHOD_4 ( STRING_1 , STRING_4 3 ) ) ) . METHOD_2 ( new io . cdap . cdap . IDENT_3 . IDENT_4 . v2 . METHOD_3 ( STRING_7 , io . cdap . cdap . IDENT_3 . mock . batch . IDENT_12 . METHOD_4 ( IDENT_2 ) ) ) . METHOD_5 ( STRING_4 0 , STRING_4 ) . METHOD_5 ( STRING_4 , STRING_5 ) . METHOD_5 ( STRING_5 , STRING_6 ) . METHOD_5 ( STRING_6 , STRING_7 ) . METHOD_6 ( STRING_8 ) . METHOD_7 ( io . cdap . cdap . IDENT_13 . IDENT_14 . IDENT_15 ) . build ( ) ; io . cdap . cdap . IDENT_4 . IDENT_16 . IDENT_17 < io . cdap . cdap . IDENT_3 . IDENT_4 . v2 . IDENT_5 > IDENT_18 = new io . cdap . cdap . IDENT_4 . IDENT_16 . METHOD_8 ( io . cdap . cdap . IDENT_13 . IDENT_14 . IDENT_19 , IDENT_6 ) ; io . cdap . cdap . IDENT_4 . id . IDENT_20 IDENT_21 = IDENT_22 . IDENT_23 . app ( STRING_4 1 ) ; io . cdap . cdap . test . IDENT_24 IDENT_25 = METHOD_9 ( IDENT_21 , IDENT_18 ) ; io . cdap . cdap . test . IDENT_26 IDENT_27 = IDENT_25 . METHOD_10 ( IDENT_28 . IDENT_29 ) ; IDENT_27 . start ( ) ; IDENT_27 . METHOD_11 ( IDENT_30 . IDENT_31 , 10 , TimeUnit . IDENT_32 ) ; final io . cdap . cdap . test . IDENT_33 < io . cdap . cdap . api . dataset . table . IDENT_34 > IDENT_35 = METHOD_12 ( IDENT_2 ) ; io . cdap . cdap . common . utils . IDENT_36 . METHOD_13 ( true , new java . util . concurrent . IDENT_37 < java . lang . Boolean > ( ) { @ io . cdap . cdap . IDENT_13 . Override public io . cdap . cdap . IDENT_13 . Boolean call ( ) throws io . cdap . cdap . IDENT_13 . Exception { IDENT_35 . METHOD_14 ( ) ; boolean IDENT_38 = false ; for ( io . cdap . cdap . api . data . format . IDENT_1 record : io . cdap . cdap . IDENT_3 . mock . batch . IDENT_12 . METHOD_15 ( IDENT_35 ) ) { long count = record . get ( STRING_9 ) ; if ( count == INT_2 ) { IDENT_38 = true ; } "<AssertPlaceHolder>" ; } return IDENT_38 ; } } , 2 , TimeUnit . IDENT_39 ) ; IDENT_27 . METHOD_16 ( ) ; } get ( byte [ ] ) { return table . read ( key ) ; }
org . junit . Assert . assertTrue ( ( count <= INT_2 ) )