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 ( ) ; java . util . List < org . elasticsearch . common . IDENT_8 . IDENT_9 > IDENT_10 = new java . util . ArrayList < org . elasticsearch . common . IDENT_8 . IDENT_9 > ( ) ; IDENT_10 . add ( new org . elasticsearch . common . IDENT_8 . METHOD_5 ( FLOAT_0 , FLOAT_1 ) ) ; IDENT_10 . add ( new org . elasticsearch . common . IDENT_8 . METHOD_5 ( FLOAT_2 , FLOAT_1 ) ) ; IDENT_10 . add ( new org . elasticsearch . common . IDENT_8 . METHOD_5 ( INT_0 , FLOAT_3 ) ) ; org . elasticsearch . index . query . IDENT_11 IDENT_12 = org . elasticsearch . index . query . IDENT_13 . METHOD_6 ( STRING_1 , IDENT_10 ) ; org . elasticsearch . action . search . IDENT_14 IDENT_15 = client . METHOD_7 ( com . baeldung . elasticsearch . IDENT_2 . IDENT_3 ) . METHOD_8 ( com . baeldung . elasticsearch . IDENT_2 . IDENT_4 ) . METHOD_9 ( IDENT_12 ) . execute ( ) . METHOD_10 ( ) ; java . util . List < java . lang . String > IDENT_16 = java . util . Arrays . stream ( IDENT_15 . METHOD_11 ( ) . METHOD_11 ( ) ) . map ( IDENT_17 :: getId ) . collect ( java . util . stream . IDENT_18 . toList ( ) ) ; "<AssertPlaceHolder>" ; } contains ( java . lang . Object ) { if ( o instanceof java . lang . String ) { return IDENT_19 . containsKey ( o ) ; } if ( o instanceof javax . servlet . http . IDENT_20 ) { return IDENT_19 . METHOD_12 ( o ) ; } return false ; }
org . junit . Assert . assertTrue ( IDENT_16 . contains ( IDENT_7 ) )