METHOD_0 ( ) { java . sql . IDENT_0 conn = IDENT_1 . METHOD_1 ( ) ; java . sql . IDENT_2 statement = conn . METHOD_2 ( ) ; if ( ( com . vaadin . IDENT_3 . data . util . IDENT_4 . IDENT_5 . db ) == ( com . vaadin . IDENT_3 . data . util . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 ) ) { statement . METHOD_3 ( STRING_0 ) ; statement . METHOD_3 ( STRING_1 ) ; } else { statement . METHOD_3 ( STRING_2 ) ; statement . METHOD_3 ( STRING_3 ) ; } statement . close ( ) ; conn . commit ( ) ; IDENT_1 . METHOD_4 ( conn ) ; com . vaadin . IDENT_3 . data . util . IDENT_4 . query . IDENT_8 IDENT_9 = new com . vaadin . IDENT_3 . data . util . IDENT_4 . query . METHOD_5 ( STRING_4 , IDENT_1 , com . vaadin . IDENT_3 . data . util . IDENT_4 . IDENT_5 . IDENT_10 ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( ) { int count = METHOD_7 ( ) ; if ( count < 0 ) { java . sql . IDENT_2 statement = null ; java . sql . ResultSet rs = null ; java . sql . IDENT_0 conn = METHOD_8 ( ) ; try { statement = conn . METHOD_2 ( ResultSet . IDENT_11 , ResultSet . IDENT_12 ) ; rs = statement . METHOD_9 ( IDENT_13 ) ; if ( rs . METHOD_10 ( ) ) { count = rs . METHOD_11 ( ) ; } else { count = 0 ; } } finally { METHOD_4 ( conn , statement , rs ) ; } } return count ; }
org . junit . Assert . assertEquals ( 6 , IDENT_9 . METHOD_6 ( ) )