METHOD_0 ( ) { METHOD_1 ( ) ; final org . geotools . data . IDENT_0 IDENT_1 = new org . geotools . data . METHOD_2 ( ) ; final org . geotools . data . Query query = new org . geotools . data . Query ( STRING_0 , org . geotools . filter . text . IDENT_2 . IDENT_3 . METHOD_3 ( STRING_1 ) , new java . lang . String [ ] { STRING_2 , STRING_3 , STRING_4 , STRING_5 } ) ; final org . geotools . data . IDENT_4 < org . opengis . feature . simple . IDENT_5 , org . opengis . feature . simple . IDENT_6 > reader = IDENT_7 . METHOD_4 ( query , IDENT_1 ) ; int c = 0 ; while ( reader . hasNext ( ) ) { reader . next ( ) ; c ++ ; } reader . close ( ) ; IDENT_1 . commit ( ) ; IDENT_1 . close ( ) ; "<AssertPlaceHolder>" ; } close ( ) { if ( ( session ) != null ) { session . close ( ) ; session = null ; } }
org . junit . Assert . assertEquals ( 2 , c )