METHOD_0 ( ) { org . IDENT_0 . config . IDENT_1 gs = METHOD_1 ( org . IDENT_0 . config . IDENT_1 . class ) ; java . util . List < org . IDENT_0 . config . IDENT_2 > IDENT_3 = new java . util . ArrayList ( ) ; gs . METHOD_2 ( METHOD_3 ( IDENT_3 ) ) ; METHOD_4 ( ) . METHOD_5 ( ) ; java . util . List < org . IDENT_0 . IDENT_4 . IDENT_5 > IDENT_6 = org . IDENT_0 . IDENT_4 . IDENT_7 . METHOD_6 ( ) ; org . IDENT_0 . IDENT_4 . IDENT_8 IDENT_4 = METHOD_7 ( org . IDENT_0 . IDENT_4 . IDENT_8 . class ) ; expect ( IDENT_4 . METHOD_8 ( ) ) . andReturn ( IDENT_6 ) . METHOD_9 ( ) ; replay ( IDENT_4 ) ; expect ( gs . METHOD_10 ( org . IDENT_0 . IDENT_4 . IDENT_8 . class ) ) . andReturn ( IDENT_4 ) . METHOD_9 ( ) ; replay ( gs ) ; IDENT_9 . METHOD_11 ( gs ) ; "<AssertPlaceHolder>" ; org . IDENT_0 . config . IDENT_2 l = IDENT_3 . get ( 0 ) ; l . METHOD_12 ( null , null , null , null ) ; l . METHOD_13 ( null ) ; verify ( gs ) ; } 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_14 ( 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_15 ( query ) . METHOD_16 ( ) ) { 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_17 ( ) ; } return count ; } } catch ( java . io . IOException e ) { throw new java . lang . RuntimeException ( e ) ; } } return super . size ( ) ; }
org . junit . Assert . assertEquals ( 1 , IDENT_3 . size ( ) )