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 ) ; when ( IDENT_5 . METHOD_4 ( eq ( IDENT_6 . IDENT_7 ) , eq ( IDENT_8 ) , eq ( new org . xwiki . model . reference . METHOD_5 ( STRING_0 ) ) ) ) . 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 ( IDENT_3 . METHOD_6 ( ) ) ; boolean result = IDENT_9 . METHOD_7 ( ) . METHOD_8 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; verify ( IDENT_5 ) . METHOD_4 ( eq ( IDENT_6 . IDENT_7 ) , eq ( IDENT_8 ) , eq ( new org . xwiki . model . reference . METHOD_5 ( STRING_0 ) ) ) ; verify ( IDENT_4 ) . METHOD_8 ( IDENT_1 ) ; } METHOD_8 ( org . xwiki . IDENT_0 . IDENT_1 . METHOD_1 ) { try { this . IDENT_10 . get ( ) . save ( IDENT_1 ) ; } catch ( org . xwiki . IDENT_0 . internal . IDENT_1 . builder . IDENT_11 e ) { throw new org . xwiki . IDENT_0 . manager . METHOD_9 ( java . lang . String . format ( STRING_3 , IDENT_1 . getId ( ) ) , e ) ; } }
org . junit . Assert . assertTrue ( result )