METHOD_0 ( ) { java . util . List < com . IDENT_0 . IDENT_1 . IDENT_2 > results = new java . util . ArrayList < com . IDENT_0 . IDENT_1 . IDENT_2 > ( ) ; com . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = org . easymock . EasyMock . METHOD_1 ( com . IDENT_0 . IDENT_1 . IDENT_2 . class ) ; org . easymock . EasyMock . expect ( IDENT_3 . METHOD_2 ( ) ) . andReturn ( 2.0 ) ; org . easymock . EasyMock . expect ( IDENT_3 . METHOD_3 ( ) ) . andReturn ( FLOAT_0 ) ; org . easymock . EasyMock . replay ( IDENT_3 ) ; results . add ( IDENT_3 ) ; com . IDENT_0 . IDENT_1 . IDENT_4 IDENT_5 = org . easymock . EasyMock . METHOD_1 ( com . IDENT_0 . IDENT_1 . IDENT_4 . class ) ; org . easymock . EasyMock . expect ( IDENT_5 . METHOD_4 ( ) ) . andReturn ( 1 ) ; org . easymock . EasyMock . expect ( IDENT_5 . METHOD_5 ( ) ) . andReturn ( results ) ; org . easymock . EasyMock . replay ( IDENT_5 ) ; com . IDENT_0 . IDENT_6 . IDENT_7 IDENT_8 = new com . IDENT_0 . IDENT_6 . METHOD_6 ( ) ; java . lang . String text = STRING_0 ; java . lang . String IDENT_9 = STRING_1 ; com . IDENT_0 . IDENT_1 . IDENT_10 IDENT_11 = org . easymock . EasyMock . METHOD_1 ( com . IDENT_0 . IDENT_1 . IDENT_10 . class ) ; com . IDENT_0 . IDENT_1 . IDENT_12 query = new com . IDENT_0 . IDENT_1 . METHOD_7 ( text , METHOD_6 . IDENT_13 , METHOD_6 . IDENT_14 , com . IDENT_0 . IDENT_1 . Constants . IDENT_15 , IDENT_9 ) ; query . METHOD_8 ( true ) . METHOD_9 ( ) ; org . easymock . EasyMock . expect ( IDENT_11 . METHOD_10 ( query ) ) . andReturn ( IDENT_5 ) ; org . easymock . EasyMock . replay ( IDENT_11 ) ; IDENT_8 . METHOD_11 ( IDENT_11 ) ; java . util . List < com . IDENT_0 . IDENT_1 . IDENT_2 > actual = IDENT_8 . METHOD_0 ( text , IDENT_9 , false , null , null , null ) ; "<AssertPlaceHolder>" ; org . easymock . EasyMock . verify ( IDENT_11 ) ; } METHOD_0 ( java . lang . String , java . lang . String , boolean , com . IDENT_16 . jts . geom . IDENT_17 , java . lang . Double , java . lang . Class [ ] ) { if ( METHOD_12 ( text ) ) { return new java . util . ArrayList < com . IDENT_0 . IDENT_1 . IDENT_2 > ( ) ; } if ( IDENT_18 == null ) { IDENT_18 = com . IDENT_0 . domain . IDENT_19 . Constants . IDENT_15 ; } com . IDENT_0 . IDENT_1 . METHOD_7 query = new com . IDENT_0 . IDENT_1 . METHOD_7 ( text , com . IDENT_0 . IDENT_6 . METHOD_6 . IDENT_13 , com . IDENT_0 . IDENT_6 . METHOD_6 . IDENT_20 , IDENT_18 , IDENT_9 ) ; query . METHOD_8 ( true ) . METHOD_9 ( ) . METHOD_13 ( IDENT_21 ) ; if ( IDENT_22 != null ) { query . METHOD_14 ( IDENT_22 ) ; query . METHOD_15 ( IDENT_23 ) ; } com . IDENT_0 . IDENT_1 . IDENT_4 results = IDENT_24 . METHOD_10 ( query ) ; if ( ( results . METHOD_4 ( ) ) >= 1 ) { return results . METHOD_5 ( ) ; } else { return new java . util . ArrayList < com . IDENT_0 . IDENT_1 . IDENT_2 > ( ) ; } }
org . junit . Assert . assertEquals ( results , actual )