METHOD_0 ( ) { final org . apache . flink . streaming . IDENT_0 . elasticsearch . IDENT_1 . IDENT_2 < java . lang . String > IDENT_3 = new org . apache . flink . streaming . IDENT_0 . elasticsearch . IDENT_1 . METHOD_1 ( new java . util . HashMap < java . lang . String , java . lang . String > ( ) , new org . apache . flink . streaming . IDENT_0 . elasticsearch . IDENT_1 . IDENT_4 < java . lang . String > ( ) , new org . apache . flink . streaming . IDENT_0 . elasticsearch . IDENT_1 . METHOD_2 ( ) ) ; final org . apache . flink . streaming . util . IDENT_5 < java . lang . String , java . lang . Object > IDENT_6 = new org . apache . flink . streaming . util . METHOD_3 ( new org . apache . flink . streaming . api . IDENT_7 . METHOD_4 ( IDENT_3 ) ) ; IDENT_6 . METHOD_5 ( ) ; IDENT_3 . METHOD_6 ( java . util . Collections . singletonList ( new java . lang . Exception ( STRING_0 ) ) ) ; IDENT_6 . METHOD_7 ( new org . apache . flink . streaming . runtime . IDENT_8 . METHOD_8 ( STRING_1 ) ) ; verify ( IDENT_3 . METHOD_9 ( ) , times ( 1 ) ) . add ( any ( org . elasticsearch . action . index . IDENT_9 . class ) ) ; org . apache . flink . core . IDENT_10 . IDENT_11 IDENT_12 = new org . apache . flink . core . IDENT_10 . METHOD_10 ( ) { @ org . apache . flink . streaming . IDENT_0 . elasticsearch . Override public void METHOD_11 ( ) throws org . apache . flink . streaming . IDENT_0 . elasticsearch . Exception { IDENT_6 . METHOD_12 ( 1L , INT_0 ) ; } } ; IDENT_12 . start ( ) ; while ( ( IDENT_12 . METHOD_13 ( ) ) != ( Thread . IDENT_13 . IDENT_14 ) ) { java . lang . Thread . sleep ( 10 ) ; } IDENT_3 . METHOD_14 ( ) ; while ( ( IDENT_12 . METHOD_13 ( ) ) != ( Thread . IDENT_13 . IDENT_14 ) ) { java . lang . Thread . sleep ( 10 ) ; } "<AssertPlaceHolder>" ; IDENT_3 . METHOD_6 ( java . util . Collections . singletonList ( ( ( java . lang . Exception ) ( null ) ) ) ) ; IDENT_3 . METHOD_14 ( ) ; IDENT_12 . sync ( ) ; IDENT_6 . close ( ) ; } METHOD_15 ( ) { if ( IDENT_15 ) { return IDENT_16 . get ( ) ; } else { throw new java . lang . METHOD_16 ( STRING_2 ) ; } }
org . junit . Assert . assertEquals ( 1 , IDENT_3 . METHOD_15 ( ) )