METHOD_0 ( ) { org . xwiki . IDENT_0 . IDENT_1 . IDENT_2 IDENT_3 = new org . xwiki . IDENT_0 . IDENT_1 . METHOD_1 ( STRING_0 , STRING_1 ) ; IDENT_3 . METHOD_2 ( STRING_2 ) ; when ( IDENT_4 . METHOD_3 ( IDENT_3 . getId ( ) ) ) . thenReturn ( IDENT_3 ) ; org . xwiki . model . reference . IDENT_5 IDENT_6 = METHOD_4 ( IDENT_3 . getId ( ) ) ; when ( this . IDENT_7 . METHOD_5 ( IDENT_8 . IDENT_9 , IDENT_10 , IDENT_6 ) ) . thenReturn ( true ) ; org . xwiki . IDENT_0 . IDENT_1 . METHOD_1 IDENT_1 = new org . xwiki . IDENT_0 . IDENT_1 . METHOD_1 ( IDENT_3 . getId ( ) , STRING_1 ) ; IDENT_1 . METHOD_2 ( STRING_3 ) ; boolean result = IDENT_11 . METHOD_6 ( ) . METHOD_7 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_4 ) . METHOD_7 ( IDENT_1 ) ; } METHOD_7 ( org . xwiki . IDENT_0 . IDENT_1 . METHOD_1 ) { try { this . IDENT_12 . get ( ) . save ( IDENT_1 ) ; } catch ( org . xwiki . IDENT_0 . internal . IDENT_1 . builder . IDENT_13 e ) { throw new org . xwiki . IDENT_0 . manager . METHOD_8 ( java . lang . String . format ( STRING_4 , IDENT_1 . getId ( ) ) , e ) ; } }
org . junit . Assert . assertTrue ( result )