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_5 < io . IDENT_6 . client . IDENT_7 , io . IDENT_6 . core . IDENT_8 > config = METHOD_2 ( builder . build ( ) ) ; io . IDENT_6 . client . IDENT_7 IDENT_9 = mock ( io . IDENT_6 . client . IDENT_7 . class ) ; when ( config . METHOD_3 ( ) ) . thenReturn ( IDENT_9 ) ; org . IDENT_0 . IDENT_1 . elasticsearch . IDENT_10 IDENT_11 = METHOD_2 ( new org . IDENT_0 . IDENT_1 . elasticsearch . METHOD_4 ( ) ) ; java . util . function . IDENT_12 < io . IDENT_6 . core . IDENT_8 , java . lang . Boolean > listener = config . METHOD_5 ( IDENT_11 ) ; java . lang . String IDENT_13 = STRING_0 ; java . lang . String IDENT_14 = STRING_1 ; io . IDENT_6 . core . IDENT_8 IDENT_15 = METHOD_6 ( IDENT_13 , IDENT_14 ) ; listener . apply ( IDENT_15 ) ; org . mockito . IDENT_16 < io . IDENT_6 . core . IDENT_8 > IDENT_17 = org . mockito . IDENT_16 . METHOD_7 ( io . IDENT_6 . core . IDENT_8 . class ) ; verify ( IDENT_9 , times ( 1 ) ) . METHOD_8 ( ( ( io . IDENT_6 . core . IDENT_8 ) ( IDENT_17 . METHOD_9 ( ) ) ) , org . mockito . Mockito . any ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_8 ( org . IDENT_0 . IDENT_1 . elasticsearch . IDENT_18 , org . IDENT_0 . IDENT_1 . elasticsearch . IDENT_19 ) { }
org . junit . Assert . assertEquals ( IDENT_15 , IDENT_17 . getValue ( ) )