METHOD_0 ( ) { IDENT_0 = mock ( com . IDENT_1 . IDENT_2 . IDENT_3 . IDENT_4 . class ) ; java . net . IDENT_5 conn = mock ( java . net . IDENT_5 . class ) ; java . io . InputStream is = getClass ( ) . getResourceAsStream ( STRING_0 ) ; when ( IDENT_0 . METHOD_1 ( anyString ( ) , METHOD_2 ( ) ) ) . thenReturn ( conn ) ; when ( conn . METHOD_3 ( ) ) . thenReturn ( is ) ; config = mock ( com . IDENT_1 . IDENT_2 . IDENT_6 . class ) ; when ( config . METHOD_4 ( ) ) . thenReturn ( new java . util . Properties ( ) ) ; IDENT_3 = new com . IDENT_1 . IDENT_2 . IDENT_3 . METHOD_5 ( IDENT_0 , config ) ; com . IDENT_1 . IDENT_2 . IDENT_7 query = new com . IDENT_1 . IDENT_2 . METHOD_6 ( STRING_1 , 3 , null , STRING_2 ) ; java . util . List < com . IDENT_1 . IDENT_2 . resources . Result > results = IDENT_3 . search ( query ) ; "<AssertPlaceHolder>" ; } search ( java . util . Map ) { java . util . Map < java . lang . String , com . IDENT_1 . IDENT_2 . resources . IDENT_8 > IDENT_9 = new java . util . HashMap < java . lang . String , com . IDENT_1 . IDENT_2 . resources . IDENT_8 > ( ) ; java . util . Map < java . lang . String , com . IDENT_1 . IDENT_2 . IDENT_10 > results = METHOD_7 ( IDENT_11 ) ; for ( Map . Entry < java . lang . String , com . IDENT_1 . IDENT_2 . IDENT_10 > IDENT_12 : results . entrySet ( ) ) { com . IDENT_1 . IDENT_2 . IDENT_10 IDENT_13 = IDENT_12 . getValue ( ) ; if ( ! ( IDENT_13 . METHOD_8 ( ) ) ) { if ( IDENT_10 . IDENT_14 . IDENT_15 . equals ( IDENT_13 . METHOD_9 ( ) ) ) { IDENT_16 . METHOD_10 ( ) ; } } } java . util . Map < java . lang . String , com . IDENT_1 . IDENT_2 . METHOD_6 > IDENT_17 = new java . util . HashMap < java . lang . String , com . IDENT_1 . IDENT_2 . METHOD_6 > ( ) ; for ( Map . Entry < java . lang . String , com . IDENT_1 . IDENT_2 . METHOD_6 > IDENT_12 : IDENT_11 . entrySet ( ) ) { java . lang . String IDENT_18 = IDENT_12 . getKey ( ) ; if ( ! ( results . containsKey ( IDENT_18 ) ) ) { com . IDENT_1 . IDENT_2 . METHOD_6 IDENT_19 = IDENT_12 . getValue ( ) ; log . info ( ( STRING_3 + ( IDENT_19 . METHOD_11 ( ) ) ) ) ; IDENT_17 . put ( IDENT_18 , IDENT_19 ) ; } } if ( ( IDENT_17 . size ( ) ) > 0 ) { try { java . lang . Thread . sleep ( INT_0 ) ; } catch ( java . lang . IDENT_20 e ) { log . error ( STRING_4 ) ; } java . util . Map < java . lang . String , com . IDENT_1 . IDENT_2 . IDENT_10 > IDENT_21 = METHOD_7 ( IDENT_17 ) ; results . METHOD_12 ( IDENT_21 ) ; } for ( Map . Entry < java . lang . String , com . IDENT_1 . IDENT_2 . IDENT_10 > IDENT_12 : results . entrySet ( ) ) { java . lang . String IDENT_18 = IDENT_12 . getKey ( ) ; com . IDENT_1 . IDENT_2 . IDENT_10 IDENT_13 = IDENT_12 . getValue ( ) ; if ( IDENT_13 . METHOD_8 ( ) ) { IDENT_9 . put ( IDENT_18 , new com . IDENT_1 . IDENT_2 . resources . METHOD_13 ( IDENT_13 . METHOD_14 ( ) ) ) ; } else { IDENT_9 . put ( IDENT_18 , new com . IDENT_1 . IDENT_2 . resources . METHOD_13 ( new java . util . ArrayList < com . IDENT_1 . IDENT_2 . resources . Result > ( ) ) ) ; } } return IDENT_9 ; }
org . junit . Assert . assertEquals ( 0 , results . size ( ) )