METHOD_0 ( ) { java . lang . String IDENT_0 = METHOD_1 ( ) ; java . sql . Date IDENT_1 = org . apache . phoenix . util . IDENT_2 . METHOD_2 ( STRING_0 ) ; IDENT_1 = new java . sql . Date ( ( ( IDENT_1 . getTime ( ) ) + INT_0 ) ) ; java . lang . String tableName = METHOD_3 ( null , IDENT_0 , METHOD_4 ( IDENT_0 ) , IDENT_1 , null , METHOD_5 ( ) , null ) ; java . lang . String query = ( STRING_1 + tableName ) + STRING_2 ; java . util . Properties props = org . apache . phoenix . util . IDENT_3 . METHOD_6 ( org . apache . phoenix . IDENT_4 . IDENT_5 ) ; java . sql . IDENT_6 conn = java . sql . IDENT_7 . METHOD_7 ( METHOD_5 ( ) , props ) ; try { java . sql . IDENT_8 statement = conn . METHOD_8 ( query ) ; statement . METHOD_9 ( 1 , IDENT_0 ) ; java . sql . IDENT_9 IDENT_10 = org . apache . phoenix . util . IDENT_2 . METHOD_10 ( ( ( IDENT_1 . getTime ( ) ) + ( 2 * ( IDENT_11 ) ) ) , INT_1 ) ; IDENT_10 . METHOD_11 ( 0 ) ; statement . METHOD_12 ( 2 , IDENT_10 ) ; statement . METHOD_12 ( 3 , IDENT_10 ) ; java . sql . ResultSet rs = statement . METHOD_13 ( ) ; int count = 0 ; while ( rs . next ( ) ) { count ++ ; } "<AssertPlaceHolder>" ; } finally { conn . close ( ) ; } } next ( ) { if ( ! ( org . apache . phoenix . util . IDENT_12 . METHOD_14 ( IDENT_13 ) ) ) { return null ; } else if ( ( IDENT_14 ) == ( IDENT_15 ) ) { return null ; } org . apache . phoenix . schema . tuple . IDENT_16 next = delegate . next ( ) ; org . apache . phoenix . util . IDENT_12 . METHOD_15 ( IDENT_13 , next , delegate . METHOD_16 ( ) ) ; ( IDENT_15 ) ++ ; return next ; }
org . junit . Assert . assertEquals ( 3 , count )