METHOD_0 ( ) { org . elasticsearch . action . delete . IDENT_0 IDENT_1 = mock ( org . elasticsearch . action . delete . IDENT_0 . class ) ; when ( IDENT_2 . METHOD_1 ( any ( java . lang . String . class ) , any ( java . lang . String . class ) , any ( java . lang . String . class ) ) ) . thenReturn ( IDENT_1 ) ; org . elasticsearch . action . IDENT_3 < org . elasticsearch . action . delete . IDENT_4 > IDENT_5 = mock ( org . elasticsearch . action . IDENT_3 . class ) ; when ( IDENT_1 . execute ( ) ) . thenReturn ( IDENT_5 ) ; org . elasticsearch . action . delete . IDENT_4 IDENT_6 = mock ( org . elasticsearch . action . delete . IDENT_4 . class ) ; when ( IDENT_5 . METHOD_2 ( ) ) . thenReturn ( IDENT_6 ) ; when ( IDENT_6 . METHOD_3 ( ) ) . thenReturn ( false ) ; boolean actual = IDENT_7 . delete ( org . IDENT_8 . IDENT_9 . plugin . elasticsearch . model . entity . IDENT_10 . class , 1L ) ; "<AssertPlaceHolder>" ; } delete ( java . lang . Class , long ) { try { java . lang . String IDENT_11 = org . IDENT_8 . IDENT_9 . plugin . elasticsearch . model . entity . IDENT_12 . valueOf ( IDENT_13 ) . METHOD_4 ( ) ; return client . METHOD_1 ( IDENT_14 , IDENT_11 , java . lang . Long . toString ( IDENT_15 ) ) . execute ( ) . METHOD_2 ( ) . METHOD_3 ( ) ; } catch ( java . lang . Exception e ) { java . lang . String IDENT_11 = org . IDENT_8 . IDENT_9 . plugin . elasticsearch . model . entity . IDENT_12 . valueOf ( IDENT_13 ) . METHOD_4 ( ) ; java . lang . String message = java . lang . String . format ( STRING_0 , IDENT_15 , IDENT_14 , IDENT_11 ) ; throw new org . IDENT_8 . IDENT_9 . plugin . elasticsearch . dao . METHOD_5 ( message , e ) ; } }
org . junit . Assert . assertFalse ( actual )