METHOD_0 ( ) { final org . apache . druid . java . util . http . client . response . IDENT_0 < java . io . InputStream , java . io . InputStream > IDENT_1 = org . easymock . EasyMock . METHOD_1 ( org . apache . druid . java . util . http . client . response . IDENT_0 . class ) ; final com . google . common . util . concurrent . IDENT_2 < java . io . InputStream > future = com . google . common . util . concurrent . IDENT_2 . create ( ) ; future . set ( new java . io . ByteArrayInputStream ( org . apache . druid . java . util . common . StringUtils . METHOD_2 ( mapper . METHOD_3 ( org . apache . druid . server . IDENT_3 . cache . IDENT_4 . IDENT_5 ) ) ) ) ; org . easymock . EasyMock . expect ( client . METHOD_4 ( org . easymock . EasyMock . METHOD_5 ( ) , org . easymock . EasyMock . < org . apache . druid . java . util . http . client . response . IDENT_6 > METHOD_5 ( ) , org . easymock . EasyMock . METHOD_5 ( ) ) ) . andReturn ( future ) . METHOD_6 ( ) ; org . easymock . EasyMock . replay ( client , IDENT_1 ) ; final org . apache . druid . server . IDENT_3 . cache . IDENT_7 . IDENT_8 IDENT_9 = new org . apache . druid . server . IDENT_3 . cache . IDENT_7 . METHOD_7 ( client , IDENT_10 , mapper ) { @ org . apache . druid . server . IDENT_3 . cache . Override org . apache . druid . java . util . http . client . response . IDENT_0 < java . io . InputStream , java . io . InputStream > METHOD_8 ( final java . util . concurrent . atomic . IDENT_11 IDENT_12 , final java . util . concurrent . atomic . IDENT_13 < java . lang . String > IDENT_14 ) { IDENT_12 . set ( Response . Status . IDENT_15 . getStatusCode ( ) ) ; IDENT_14 . set ( "" ) ; return IDENT_1 ; } } ; org . apache . druid . query . IDENT_3 . IDENT_16 < org . apache . druid . server . IDENT_3 . cache . IDENT_17 > IDENT_18 = IDENT_9 . METHOD_9 ( org . apache . druid . server . http . IDENT_19 . METHOD_10 ( STRING_0 ) ) ; org . easymock . EasyMock . verify ( client , IDENT_1 ) ; "<AssertPlaceHolder>" ; } verify ( java . lang . IDENT_20 , java . lang . IDENT_20 ) { java . util . Iterator < org . apache . druid . query . Result < org . apache . druid . query . select . IDENT_21 > > IDENT_22 = IDENT_23 . iterator ( ) ; java . util . Iterator < org . apache . druid . query . Result < org . apache . druid . query . select . IDENT_21 > > IDENT_24 = IDENT_25 . iterator ( ) ; while ( IDENT_22 . hasNext ( ) ) { org . apache . druid . query . Result < org . apache . druid . query . select . IDENT_21 > expected = IDENT_22 . next ( ) ; org . apache . druid . query . Result < org . apache . druid . query . select . IDENT_21 > actual = IDENT_24 . next ( ) ; org . junit . Assert . assertEquals ( expected . METHOD_11 ( ) , actual . METHOD_11 ( ) ) ; for ( Map . Entry < java . lang . String , java . lang . Integer > entry : expected . getValue ( ) . METHOD_12 ( ) . entrySet ( ) ) { org . junit . Assert . assertEquals ( entry . getValue ( ) , actual . getValue ( ) . METHOD_12 ( ) . get ( entry . getKey ( ) ) ) ; } org . junit . Assert . assertEquals ( expected . getValue ( ) . METHOD_13 ( ) , actual . getValue ( ) . METHOD_13 ( ) ) ; org . junit . Assert . assertEquals ( expected . getValue ( ) . METHOD_14 ( ) , actual . getValue ( ) . METHOD_14 ( ) ) ; java . util . Iterator < org . apache . druid . query . select . IDENT_26 > IDENT_27 = expected . getValue ( ) . METHOD_15 ( ) . iterator ( ) ; java . util . Iterator < org . apache . druid . query . select . IDENT_26 > IDENT_28 = actual . getValue ( ) . METHOD_15 ( ) . iterator ( ) ; while ( IDENT_27 . hasNext ( ) ) { org . apache . druid . query . select . IDENT_26 IDENT_29 = IDENT_27 . next ( ) ; org . apache . druid . query . select . IDENT_26 IDENT_30 = IDENT_28 . next ( ) ; org . junit . Assert . assertEquals ( IDENT_29 . METHOD_11 ( ) , IDENT_30 . METHOD_11 ( ) ) ; org . junit . Assert . assertEquals ( IDENT_29 . METHOD_16 ( ) , IDENT_30 . METHOD_16 ( ) ) ; for ( Map . Entry < java . lang . String , java . lang . Object > ex : IDENT_29 . METHOD_17 ( ) . entrySet ( ) ) { java . lang . Object IDENT_31 = IDENT_30 . METHOD_17 ( ) . get ( ex . getKey ( ) ) ; if ( ( IDENT_30 . METHOD_17 ( ) . get ( ex . getKey ( ) ) ) instanceof java . lang . Double ) { IDENT_31 = ( ( java . lang . Double ) ( IDENT_31 ) ) . METHOD_18 ( ) ; } org . junit . Assert . assertEquals ( ( STRING_1 + ( ex . getKey ( ) ) ) , ex . getValue ( ) , IDENT_31 ) ; } } if ( IDENT_28 . hasNext ( ) ) { throw new org . apache . druid . java . util . common . METHOD_19 ( STRING_2 ) ; } } if ( IDENT_24 . hasNext ( ) ) { throw new org . apache . druid . java . util . common . METHOD_19 ( STRING_3 ) ; } }
org . junit . Assert . assertEquals ( IDENT_18 , org . apache . druid . server . IDENT_3 . cache . IDENT_4 . IDENT_5 )