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