METHOD_0 ( ) { org . apache . logging . log4j . core . layout . IDENT_0 layout = org . IDENT_1 . api . mockito . IDENT_2 . mock ( org . apache . logging . log4j . core . layout . IDENT_0 . class ) ; org . IDENT_3 . IDENT_4 . elasticsearch . IDENT_5 . Builder builder = org . IDENT_3 . IDENT_4 . elasticsearch . IDENT_6 . METHOD_1 ( ) ; builder . METHOD_2 ( false ) ; builder . METHOD_3 ( layout ) ; org . apache . logging . log4j . core . IDENT_7 IDENT_8 = mock ( org . apache . logging . log4j . core . IDENT_7 . class ) ; org . IDENT_3 . IDENT_4 . elasticsearch . IDENT_5 IDENT_9 = builder . build ( ) ; IDENT_9 . append ( IDENT_8 ) ; org . mockito . IDENT_10 < org . apache . logging . log4j . core . IDENT_7 > IDENT_11 = org . mockito . IDENT_10 . METHOD_4 ( org . apache . logging . log4j . core . IDENT_7 . class ) ; verify ( layout , times ( 1 ) ) . METHOD_5 ( IDENT_11 . METHOD_6 ( ) ) ; "<AssertPlaceHolder>" ; } METHOD_5 ( org . apache . logging . log4j . core . IDENT_7 ) { return null ; }
org . junit . Assert . assertEquals ( IDENT_8 , IDENT_11 . getValue ( ) )