METHOD_0 ( ) { if ( ( url ) == null ) return ; java . util . Map m = new java . util . HashMap ( ) ; m . put ( IDENT_0 . URL . key , url ) ; m . put ( IDENT_0 . IDENT_1 . key , new java . lang . Integer ( INT_0 ) ) ; org . geotools . data . IDENT_2 . IDENT_3 . IDENT_4 IDENT_2 = ( ( org . geotools . data . IDENT_2 . IDENT_3 . IDENT_4 ) ( new org . geotools . data . IDENT_2 . METHOD_1 ( ) . METHOD_2 ( m ) ) ) ; org . opengis . filter . IDENT_5 IDENT_6 = org . geotools . factory . IDENT_7 . METHOD_3 ( org . geotools . factory . IDENT_8 . METHOD_4 ( ) ) ; org . opengis . filter . IDENT_9 filter = IDENT_6 . equals ( IDENT_6 . property ( STRING_0 ) , IDENT_6 . METHOD_5 ( STRING_1 ) ) ; org . geotools . data . Query query = new org . geotools . data . METHOD_6 ( STRING_2 , filter ) ; org . geotools . data . IDENT_10 < org . opengis . feature . simple . IDENT_11 , org . opengis . feature . simple . IDENT_12 > reader = IDENT_2 . METHOD_7 ( query , new org . geotools . data . METHOD_8 ( ) ) ; int expected = 0 ; while ( reader . hasNext ( ) ) { expected ++ ; reader . next ( ) ; } query = new org . geotools . data . METHOD_6 ( STRING_2 , filter , 100 , new java . lang . String [ ] { STRING_3 } , "" ) ; reader = IDENT_2 . METHOD_7 ( query , new org . geotools . data . METHOD_8 ( ) ) ; int count = 0 ; while ( reader . hasNext ( ) ) { count ++ ; reader . next ( ) ; } "<AssertPlaceHolder>" ; } next ( ) { org . opengis . feature . simple . IDENT_12 IDENT_13 = next ; IDENT_14 . add ( IDENT_13 . METHOD_9 ( ) ) ; next = METHOD_10 ( ) ; if ( IDENT_13 == null ) { throw new java . util . METHOD_11 ( STRING_4 ) ; } return IDENT_13 ; }
org . junit . Assert . assertEquals ( expected , count )