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 , java . util . Arrays . asList ( STRING_1 ) , IDENT_3 ) ; com . vaadin . IDENT_0 . data . util . IDENT_1 . query . IDENT_4 delegate = org . easymock . EasyMock . METHOD_2 ( com . vaadin . IDENT_0 . data . util . IDENT_1 . query . IDENT_4 . class ) ; org . easymock . EasyMock . expect ( delegate . METHOD_3 ( ) ) . andReturn ( STRING_2 ) ; org . easymock . EasyMock . replay ( delegate ) ; query . METHOD_4 ( delegate ) ; "<AssertPlaceHolder>" ; org . easymock . EasyMock . verify ( delegate ) ; } METHOD_5 ( ) { com . vaadin . IDENT_0 . data . util . IDENT_1 . query . IDENT_5 . METHOD_6 ( ) . log ( IDENT_6 . IDENT_7 , STRING_3 ) ; com . vaadin . IDENT_0 . data . util . IDENT_1 . query . generator . IDENT_8 IDENT_9 = IDENT_10 . METHOD_7 ( METHOD_8 ( ) , filters , null , 0 , 0 , STRING_4 ) ; boolean IDENT_11 = false ; if ( ! ( METHOD_9 ( ) ) ) { IDENT_11 = true ; METHOD_10 ( ) ; } java . sql . ResultSet r = null ; int count = - 1 ; try { r = METHOD_11 ( IDENT_9 ) ; r . next ( ) ; count = r . METHOD_12 ( 1 ) ; } finally { try { if ( r != null ) { METHOD_13 ( null , r . METHOD_14 ( ) , r ) ; } } finally { if ( IDENT_11 ) { commit ( ) ; } } } return count ; }
org . junit . Assert . assertEquals ( 3 , query . METHOD_5 ( ) )