METHOD_0 ( ) { org . mockito . Mockito . METHOD_1 ( new com . IDENT_0 . xwiki . METHOD_2 ( ) ) . when ( this . xwiki ) . METHOD_3 ( this . doc , this . IDENT_1 ) ; "<AssertPlaceHolder>" ; } delete ( IDENT_2 extends org . IDENT_3 . entities . IDENT_4 ) { try { com . IDENT_0 . xwiki . IDENT_5 IDENT_1 = this . IDENT_6 . get ( ) ; com . IDENT_0 . xwiki . doc . IDENT_7 doc = entity . METHOD_4 ( ) ; IDENT_1 . METHOD_5 ( ) . METHOD_3 ( doc , IDENT_1 ) ; return true ; } catch ( java . lang . Exception ex ) { this . logger . warn ( STRING_0 , entity . METHOD_6 ( ) , ex . getMessage ( ) ) ; } return false ; }
org . junit . Assert . assertFalse ( this . manager . delete ( new org . IDENT_3 . entities . spi . Person ( this . doc ) ) )