METHOD_0 ( ) { org . IDENT_0 . catalog . IDENT_1 IDENT_2 = METHOD_1 ( ) . METHOD_2 ( METHOD_3 ( IDENT_3 . IDENT_4 ) ) ; org . apache . IDENT_5 . model . IDENT_6 < org . IDENT_0 . catalog . IDENT_1 > model = new org . apache . IDENT_5 . model . METHOD_4 ( IDENT_2 ) ; org . IDENT_0 . web . IDENT_7 page = new org . IDENT_0 . web . METHOD_5 ( ( id ) -> new org . IDENT_0 . web . data . resource . METHOD_6 ( id , model ) ) ; IDENT_8 . METHOD_7 ( page ) ; org . apache . IDENT_5 . IDENT_9 container = ( ( org . apache . IDENT_5 . IDENT_9 ) ( IDENT_8 . METHOD_8 ( STRING_0 ) ) ) ; "<AssertPlaceHolder>" ; } size ( ) { if ( ( IDENT_10 ) != null ) { return IDENT_10 . size ( ) ; } if ( ( org . IDENT_0 . IDENT_11 . IDENT_12 . IDENT_13 ) > 0 ) { try { int count = IDENT_14 . METHOD_9 ( query ) ; if ( count == 0 ) { IDENT_10 = new java . util . ArrayList ( ) ; return count ; } if ( count > 0 ) { return count ; } java . util . List < org . opengis . feature . simple . IDENT_15 > IDENT_16 = new java . util . ArrayList ( ) ; try ( org . geotools . data . simple . IDENT_17 it = IDENT_14 . METHOD_10 ( query ) . METHOD_11 ( ) ) { count = 0 ; while ( it . hasNext ( ) ) { org . opengis . feature . simple . IDENT_15 feature = it . next ( ) ; if ( ( IDENT_16 . size ( ) ) < ( org . IDENT_0 . IDENT_11 . IDENT_12 . IDENT_13 ) ) { IDENT_16 . add ( feature ) ; } count ++ ; } if ( count <= ( org . IDENT_0 . IDENT_11 . IDENT_12 . IDENT_13 ) ) { IDENT_10 = IDENT_16 ; } else { IDENT_16 . METHOD_12 ( ) ; } return count ; } } catch ( java . io . IOException e ) { throw new java . lang . RuntimeException ( e ) ; } } return super . size ( ) ; }
org . junit . Assert . assertEquals ( 3 , container . size ( ) )