METHOD_0 ( ) { when ( IDENT_0 . exists ( STRING_0 ) ) . thenReturn ( true ) ; boolean IDENT_1 = false ; try { this . IDENT_2 . METHOD_1 ( ) . create ( STRING_0 , STRING_1 , true ) ; } catch ( org . xwiki . IDENT_3 . manager . IDENT_4 e ) { IDENT_1 = true ; } "<AssertPlaceHolder>" ; } create ( java . lang . String , java . lang . String , boolean ) { if ( IDENT_5 && ( ! ( METHOD_2 ( IDENT_6 ) ) ) ) { throw new org . xwiki . IDENT_3 . manager . METHOD_3 ( java . lang . String . format ( STRING_2 , IDENT_6 ) ) ; } com . IDENT_7 . xwiki . IDENT_8 context = IDENT_9 . get ( ) ; org . xwiki . IDENT_3 . IDENT_10 . IDENT_11 IDENT_10 ; try { IDENT_12 . METHOD_4 ( new org . xwiki . IDENT_13 . event . METHOD_5 ( IDENT_6 ) , IDENT_6 , context ) ; IDENT_10 = IDENT_14 . create ( IDENT_6 , IDENT_15 ) ; IDENT_12 . METHOD_4 ( new org . xwiki . IDENT_13 . event . METHOD_6 ( IDENT_6 ) , IDENT_6 , context ) ; } catch ( org . xwiki . IDENT_3 . manager . METHOD_3 e ) { IDENT_12 . METHOD_4 ( new org . xwiki . IDENT_13 . event . METHOD_7 ( IDENT_6 ) , IDENT_6 , context ) ; throw e ; } return IDENT_10 ; }
org . junit . Assert . assertTrue ( IDENT_1 )