METHOD_0 ( ) { when ( IDENT_0 . exists ( STRING_0 ) ) . thenReturn ( false ) ; when ( xwiki . METHOD_1 ( STRING_1 ) ) . thenReturn ( STRING_2 ) ; when ( store . METHOD_2 ( eq ( STRING_0 ) , any ( com . IDENT_1 . xwiki . IDENT_2 . class ) ) ) . thenReturn ( true ) ; org . xwiki . IDENT_3 . internal . IDENT_4 . IDENT_5 IDENT_4 = new org . xwiki . IDENT_3 . internal . IDENT_4 . METHOD_3 ( STRING_0 , STRING_3 ) ; when ( IDENT_6 . create ( STRING_0 , STRING_3 ) ) . METHOD_4 ( new org . xwiki . IDENT_3 . manager . METHOD_5 ( STRING_4 ) ) ; boolean IDENT_7 = false ; try { this . IDENT_8 . METHOD_6 ( ) . create ( STRING_0 , STRING_3 , true ) ; } catch ( org . xwiki . IDENT_3 . manager . METHOD_5 e ) { IDENT_7 = true ; } "<AssertPlaceHolder>" ; verify ( IDENT_9 ) . METHOD_7 ( new org . xwiki . IDENT_10 . event . METHOD_8 ( STRING_0 ) , STRING_0 , IDENT_11 ) ; verify ( IDENT_9 ) . METHOD_7 ( new org . xwiki . IDENT_10 . event . METHOD_9 ( STRING_0 ) , STRING_0 , IDENT_11 ) ; } create ( com . IDENT_1 . xwiki . api . IDENT_12 , java . util . Map ) { javax . mail . IDENT_13 . IDENT_14 IDENT_15 = new javax . mail . IDENT_13 . METHOD_10 ( ) ; javax . IDENT_16 . IDENT_17 source = METHOD_11 ( IDENT_18 , IDENT_15 ) ; IDENT_15 . METHOD_12 ( new javax . IDENT_16 . METHOD_13 ( source ) ) ; IDENT_15 . METHOD_14 ( STRING_5 , IDENT_18 . METHOD_15 ( ) ) ; IDENT_15 . METHOD_14 ( STRING_6 , ( ( STRING_7 + ( IDENT_18 . METHOD_16 ( ) ) ) + STRING_8 ) ) ; IDENT_15 . METHOD_17 ( IDENT_18 . METHOD_16 ( ) ) ; METHOD_18 ( IDENT_15 , parameters ) ; return IDENT_15 ; }
org . junit . Assert . assertTrue ( IDENT_7 )