METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . elasticsearch . IDENT_2 < io . IDENT_3 . core . IDENT_4 > IDENT_5 = org . IDENT_0 . IDENT_1 . elasticsearch . IDENT_6 . IDENT_7 . METHOD_1 ( ) . build ( ) . METHOD_2 ( ) ; org . IDENT_0 . IDENT_1 . elasticsearch . IDENT_8 < io . IDENT_3 . core . IDENT_4 > IDENT_9 = IDENT_5 . METHOD_3 ( ) ; java . lang . String IDENT_10 = STRING_0 ; io . IDENT_3 . core . IDENT_11 item = ( ( io . IDENT_3 . core . IDENT_11 ) ( IDENT_5 . METHOD_4 ( STRING_1 , IDENT_10 ) ) ) ; IDENT_9 . add ( item ) ; io . IDENT_3 . core . IDENT_4 IDENT_12 = IDENT_9 . build ( ) ; io . IDENT_3 . core . IDENT_13 IDENT_14 = new io . IDENT_3 . core . METHOD_5 ( ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( io . IDENT_3 . core . IDENT_4 ) { return IDENT_15 . IDENT_16 . stream ( ) . map ( ( item ) -> METHOD_7 ( ) . METHOD_8 ( ( ( IDENT_17 < io . IDENT_3 . core . IDENT_18 > ) ( item ) ) ) ) . collect ( java . util . stream . IDENT_19 . toList ( ) ) ; }
org . junit . Assert . assertEquals ( IDENT_10 , IDENT_14 . METHOD_6 ( IDENT_12 ) . get ( 0 ) )