METHOD_0 ( ) { com . vaadin . IDENT_0 . data . util . IDENT_1 . query . IDENT_2 query = new com . vaadin . IDENT_0 . data . util . IDENT_1 . query . METHOD_1 ( STRING_0 , IDENT_3 , STRING_1 ) ; "<AssertPlaceHolder>" ; } METHOD_2 ( ) { com . vaadin . IDENT_0 . data . util . IDENT_1 . query . IDENT_4 . METHOD_3 ( ) . log ( IDENT_5 . IDENT_6 , STRING_2 ) ; com . vaadin . IDENT_0 . data . util . IDENT_1 . query . generator . IDENT_7 IDENT_8 = IDENT_9 . METHOD_4 ( METHOD_5 ( ) , filters , null , 0 , 0 , STRING_3 ) ; boolean IDENT_10 = false ; if ( ! ( METHOD_6 ( ) ) ) { IDENT_10 = true ; METHOD_7 ( ) ; } java . sql . ResultSet r = null ; int count = - 1 ; try { r = METHOD_8 ( IDENT_8 ) ; r . next ( ) ; count = r . METHOD_9 ( 1 ) ; } finally { try { if ( r != null ) { METHOD_10 ( null , r . METHOD_11 ( ) , r ) ; } } finally { if ( IDENT_10 ) { commit ( ) ; } } } return count ; }
org . junit . Assert . assertEquals ( 3 , query . METHOD_2 ( ) )