METHOD_0 ( ) { org . geotools . data . Query query = new org . geotools . data . Query ( STRING_0 ) ; query . METHOD_1 ( 2 ) ; org . geotools . feature . IDENT_0 records = store . METHOD_2 ( query , IDENT_1 . IDENT_2 ) ; "<AssertPlaceHolder>" ; } size ( ) { if ( ( IDENT_3 ) != null ) { return IDENT_3 . size ( ) ; } if ( ( org . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 ) > 0 ) { try { int count = IDENT_8 . METHOD_3 ( query ) ; if ( count == 0 ) { IDENT_3 = new java . util . ArrayList ( ) ; return count ; } if ( count > 0 ) { return count ; } java . util . List < org . opengis . feature . simple . IDENT_9 > IDENT_10 = new java . util . ArrayList ( ) ; try ( org . geotools . data . simple . IDENT_11 it = IDENT_8 . METHOD_4 ( query ) . METHOD_5 ( ) ) { count = 0 ; while ( it . hasNext ( ) ) { org . opengis . feature . simple . IDENT_9 feature = it . next ( ) ; if ( ( IDENT_10 . size ( ) ) < ( org . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 ) ) { IDENT_10 . add ( feature ) ; } count ++ ; } if ( count <= ( org . IDENT_4 . IDENT_5 . IDENT_6 . IDENT_7 ) ) { IDENT_3 = IDENT_10 ; } else { IDENT_10 . METHOD_6 ( ) ; } return count ; } } catch ( java . io . IOException e ) { throw new java . lang . RuntimeException ( e ) ; } } return super . size ( ) ; }
org . junit . Assert . assertEquals ( 2 , records . size ( ) )