METHOD_0 ( ) { com . googlecode . IDENT_0 . index . IDENT_1 . support . IDENT_2 connection = null ; try { com . googlecode . IDENT_0 . index . IDENT_1 . IDENT_3 IDENT_4 = IDENT_5 . METHOD_1 ( true ) ; METHOD_2 ( IDENT_4 ) ; com . googlecode . IDENT_0 . index . IDENT_1 . support . IDENT_6 < com . googlecode . IDENT_0 . IDENT_7 . IDENT_8 , java . lang . String > equal = equal ( IDENT_8 . IDENT_9 , STRING_0 ) ; connection = IDENT_4 . METHOD_3 ( null , METHOD_4 ( ) ) ; int count = com . googlecode . IDENT_0 . index . IDENT_1 . support . IDENT_10 . count ( equal , com . googlecode . IDENT_0 . index . IDENT_1 . support . IDENT_11 . IDENT_12 , connection ) ; "<AssertPlaceHolder>" ; } finally { com . googlecode . IDENT_0 . index . IDENT_1 . support . IDENT_13 . METHOD_5 ( connection ) ; } } count ( com . googlecode . IDENT_0 . query . Query , java . lang . String , com . googlecode . IDENT_0 . index . IDENT_1 . support . IDENT_2 ) { final java . lang . String IDENT_14 = java . lang . String . format ( STRING_1 , tableName ) ; com . googlecode . IDENT_0 . index . IDENT_1 . support . IDENT_15 statement = null ; try { statement = com . googlecode . IDENT_0 . index . IDENT_1 . support . IDENT_10 . METHOD_6 ( IDENT_14 , "" , java . util . Collections . < com . googlecode . IDENT_0 . index . IDENT_1 . support . IDENT_10 . IDENT_16 > emptyList ( ) , query , connection ) ; java . sql . ResultSet IDENT_17 = statement . METHOD_7 ( ) ; if ( ! ( IDENT_17 . next ( ) ) ) { throw new java . lang . IllegalStateException ( ( STRING_2 + query ) ) ; } return IDENT_17 . METHOD_8 ( 1 ) ; } catch ( java . lang . Exception e ) { throw new java . lang . IllegalStateException ( ( STRING_3 + query ) , e ) ; } finally { com . googlecode . IDENT_0 . index . IDENT_1 . support . IDENT_13 . METHOD_5 ( statement ) ; } }
org . junit . Assert . assertEquals ( 2 , count )