METHOD_0 ( ) { org . IDENT_0 . IDENT_1 . elasticsearch . IDENT_2 . IDENT_3 factory = METHOD_1 ( org . IDENT_0 . IDENT_1 . elasticsearch . IDENT_2 . IDENT_4 . METHOD_2 ( ) . build ( ) ) ; org . IDENT_0 . IDENT_1 . elasticsearch . IDENT_2 . IDENT_3 . IDENT_5 IDENT_6 = new org . IDENT_0 . IDENT_1 . elasticsearch . IDENT_2 . IDENT_3 . METHOD_3 ( ) ; when ( factory . METHOD_4 ( ) ) . thenReturn ( METHOD_1 ( IDENT_6 ) ) ; org . elasticsearch . client . transport . IDENT_7 IDENT_8 = factory . METHOD_5 ( ) ; org . elasticsearch . client . transport . IDENT_7 IDENT_9 = factory . METHOD_5 ( ) ; verify ( factory , times ( 1 ) ) . METHOD_4 ( ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( ) { org . IDENT_0 . IDENT_1 . elasticsearch . IDENT_10 . IDENT_11 IDENT_12 = IDENT_13 . build ( ) ; io . IDENT_14 . client . IDENT_15 IDENT_16 = new org . IDENT_0 . IDENT_1 . elasticsearch . IDENT_10 . METHOD_6 ( IDENT_12 ) ; return IDENT_16 . METHOD_7 ( ) ; }
org . junit . Assert . assertEquals ( IDENT_8 , IDENT_9 )