METHOD_0 ( ) { when ( IDENT_0 . METHOD_0 ( any ( ) , any ( ) , any ( ) ) ) . thenReturn ( new org . xwiki . IDENT_1 . user . METHOD_1 ( ) ) ; org . xwiki . IDENT_1 . user . METHOD_1 result = IDENT_2 . METHOD_2 ( ) . METHOD_0 ( STRING_0 , STRING_1 , STRING_2 ) ; "<AssertPlaceHolder>" ; } METHOD_0 ( java . lang . String , java . lang . String , java . lang . String ) { com . IDENT_3 . xwiki . IDENT_4 IDENT_5 = IDENT_6 . get ( ) ; org . xwiki . IDENT_1 . user . METHOD_1 IDENT_7 = new org . xwiki . IDENT_1 . user . METHOD_1 ( IDENT_8 , IDENT_9 , METHOD_1 . IDENT_10 . IDENT_11 ) ; IDENT_7 . METHOD_3 ( message ) ; IDENT_7 . METHOD_4 ( IDENT_12 . serialize ( IDENT_5 . METHOD_5 ( ) ) ) ; com . IDENT_3 . xwiki . doc . IDENT_13 IDENT_14 = METHOD_6 ( IDENT_8 ) ; try { int IDENT_15 = IDENT_14 . METHOD_7 ( IDENT_16 . IDENT_17 , IDENT_5 ) ; IDENT_7 . setId ( IDENT_15 ) ; com . IDENT_3 . xwiki . IDENT_18 . IDENT_19 object = IDENT_14 . METHOD_8 ( IDENT_16 . IDENT_17 , IDENT_15 ) ; object . METHOD_9 ( IDENT_16 . IDENT_20 , IDENT_7 . METHOD_10 ( ) ) ; object . METHOD_9 ( IDENT_16 . IDENT_21 , IDENT_7 . METHOD_11 ( ) ) ; object . METHOD_12 ( IDENT_16 . IDENT_22 , message ) ; object . METHOD_9 ( IDENT_16 . IDENT_23 , IDENT_7 . getStatus ( ) . name ( ) . toLowerCase ( ) ) ; object . METHOD_13 ( IDENT_16 . IDENT_24 , IDENT_7 . METHOD_14 ( ) ) ; object . METHOD_9 ( IDENT_16 . IDENT_25 , IDENT_7 . getType ( ) . name ( ) . toLowerCase ( ) ) ; } catch ( com . IDENT_3 . xwiki . IDENT_26 e ) { throw new org . xwiki . IDENT_1 . user . METHOD_15 ( STRING_3 , e ) ; } METHOD_16 ( IDENT_14 , java . lang . String . format ( STRING_4 , IDENT_9 ) ) ; return IDENT_7 ; }
org . junit . Assert . assertNotNull ( result )