METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . elasticsearch . IDENT_2 . IDENT_3 . Builder builder = org . IDENT_0 . IDENT_1 . elasticsearch . IDENT_2 . IDENT_4 . METHOD_1 ( ) ; org . IDENT_0 . IDENT_1 . elasticsearch . IDENT_2 . IDENT_3 config = METHOD_2 ( builder . build ( ) ) ; java . lang . String IDENT_5 = STRING_0 ; java . lang . String IDENT_6 = STRING_1 ; io . IDENT_7 . core . IDENT_8 IDENT_9 = METHOD_3 ( IDENT_5 , IDENT_6 ) ; java . util . function . IDENT_10 < io . IDENT_7 . core . IDENT_8 , java . lang . Boolean > IDENT_11 = mock ( java . util . function . IDENT_10 . class ) ; io . IDENT_7 . client . IDENT_12 < io . IDENT_7 . client . IDENT_13 > IDENT_14 = config . METHOD_4 ( IDENT_9 , IDENT_11 ) ; IDENT_14 . METHOD_5 ( new java . io . IOException ( ) ) ; org . mockito . IDENT_15 < io . IDENT_7 . core . IDENT_8 > IDENT_16 = org . mockito . IDENT_15 . METHOD_6 ( io . IDENT_7 . core . IDENT_8 . class ) ; verify ( IDENT_11 , times ( 1 ) ) . apply ( IDENT_16 . METHOD_7 ( ) ) ; "<AssertPlaceHolder>" ; } apply ( org . IDENT_0 . IDENT_1 . elasticsearch . IDENT_17 ) { org . IDENT_0 . IDENT_1 . elasticsearch . IDENT_18 < java . lang . Object > IDENT_19 = METHOD_4 ( IDENT_9 , IDENT_20 ) ; client . METHOD_8 ( IDENT_9 , IDENT_19 ) ; return true ; }
org . junit . Assert . assertEquals ( IDENT_9 , IDENT_16 . getValue ( ) )