METHOD_0 ( ) { java . lang . String IDENT_0 = STRING_0 ; org . elasticsearch . action . index . IDENT_1 response = client . METHOD_1 ( com . baeldung . elasticsearch . IDENT_2 . IDENT_3 , com . baeldung . elasticsearch . IDENT_2 . IDENT_4 ) . METHOD_2 ( IDENT_0 , IDENT_5 . IDENT_6 ) . get ( ) ; java . lang . String IDENT_7 = response . getId ( ) ; client . admin ( ) . METHOD_3 ( ) . METHOD_4 ( com . baeldung . elasticsearch . IDENT_2 . IDENT_3 ) . get ( ) ; org . elasticsearch . index . query . IDENT_8 IDENT_9 = org . elasticsearch . index . query . IDENT_10 . METHOD_5 ( STRING_1 ) . METHOD_6 ( FLOAT_0 , FLOAT_1 ) . METHOD_7 ( 10 , IDENT_11 . IDENT_12 ) ; org . elasticsearch . action . search . IDENT_13 IDENT_14 = client . METHOD_8 ( com . baeldung . elasticsearch . IDENT_2 . IDENT_3 ) . METHOD_9 ( com . baeldung . elasticsearch . IDENT_2 . IDENT_4 ) . METHOD_10 ( IDENT_9 ) . execute ( ) . METHOD_11 ( ) ; java . util . List < java . lang . String > IDENT_15 = java . util . Arrays . stream ( IDENT_14 . METHOD_12 ( ) . METHOD_12 ( ) ) . map ( IDENT_16 :: getId ) . collect ( java . util . stream . IDENT_17 . toList ( ) ) ; "<AssertPlaceHolder>" ; } contains ( java . lang . Object ) { if ( o instanceof java . lang . String ) { return IDENT_18 . containsKey ( o ) ; } if ( o instanceof javax . servlet . http . IDENT_19 ) { return IDENT_18 . METHOD_13 ( o ) ; } return false ; }
org . junit . Assert . assertTrue ( IDENT_15 . contains ( IDENT_7 ) )