METHOD_0 ( ) { java . util . Map < java . lang . String , org . elasticsearch . common . bytes . IDENT_0 > IDENT_1 = new java . util . HashMap ( ) ; IDENT_1 . put ( STRING_0 , new org . elasticsearch . common . bytes . METHOD_1 ( STRING_1 ) ) ; METHOD_2 ( STRING_2 , IDENT_1 ) ; java . lang . String IDENT_2 = utils . METHOD_3 ( STRING_2 , STRING_3 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( java . lang . String , java . lang . String ) { try { org . elasticsearch . action . search . IDENT_3 response = IDENT_4 . search ( IDENT_5 , STRING_4 ) ; final long IDENT_6 = response . METHOD_4 ( ) . METHOD_5 ( ) ; if ( IDENT_6 == 0 ) { return IDENT_7 ; } else if ( IDENT_6 == 1 ) { return METHOD_6 ( response . METHOD_4 ( ) . METHOD_4 ( ) [ 0 ] . METHOD_7 ( ) , IDENT_7 ) ; } java . util . Map < com . github . IDENT_8 . IDENT_9 . IDENT_10 , java . lang . String > IDENT_11 = new java . util . HashMap ( ) ; for ( org . elasticsearch . search . IDENT_12 IDENT_13 : response . METHOD_4 ( ) . METHOD_4 ( ) ) { java . lang . String source = IDENT_13 . METHOD_7 ( ) ; java . lang . String IDENT_14 = IDENT_7 ; try { IDENT_14 = IDENT_15 . read ( source ) ; } catch ( com . IDENT_16 . IDENT_17 . IDENT_18 e ) { } IDENT_11 . put ( com . github . IDENT_8 . IDENT_9 . IDENT_10 . valueOf ( IDENT_13 . getId ( ) ) , IDENT_14 ) ; } java . util . List < com . github . IDENT_8 . IDENT_9 . IDENT_10 > IDENT_19 = new java . util . ArrayList ( IDENT_11 . METHOD_8 ( ) ) ; java . util . Collections . METHOD_9 ( IDENT_19 ) ; if ( IDENT_19 . contains ( IDENT_20 ) ) { return org . apache . commons . lang . StringUtils . METHOD_10 ( IDENT_11 . get ( IDENT_20 ) , "" ) ; } else { return IDENT_11 . get ( IDENT_19 . get ( ( ( IDENT_19 . size ( ) ) - 1 ) ) ) ; } } catch ( org . elasticsearch . index . IDENT_21 e ) { return IDENT_7 ; } }
org . junit . Assert . assertEquals ( STRING_3 , IDENT_2 )