METHOD_0 ( ) { final java . lang . String IDENT_0 = STRING_0 ; final com . IDENT_1 . xwiki . IDENT_2 IDENT_3 = ( ( com . IDENT_1 . xwiki . IDENT_2 ) ( com . IDENT_1 . xwiki . web . Utils . METHOD_1 ( org . xwiki . context . IDENT_4 . class ) . METHOD_2 ( ) . getProperty ( STRING_1 ) ) ) ; final org . xwiki . model . reference . IDENT_5 ref = new org . xwiki . model . reference . METHOD_3 ( STRING_2 , STRING_3 , STRING_4 ) ; final com . IDENT_1 . xwiki . doc . IDENT_6 IDENT_7 = new com . IDENT_1 . xwiki . doc . METHOD_4 ( ref ) ; IDENT_7 . METHOD_5 ( STRING_5 , IDENT_0 . getBytes ( STRING_6 ) , IDENT_3 ) ; this . store . METHOD_6 ( IDENT_7 , null ) ; final com . IDENT_1 . xwiki . doc . METHOD_4 IDENT_8 = new com . IDENT_1 . xwiki . doc . METHOD_4 ( ref ) ; this . store . METHOD_7 ( IDENT_8 , null ) ; final com . IDENT_1 . xwiki . doc . IDENT_9 IDENT_10 = IDENT_8 . METHOD_8 ( STRING_5 ) ; byte [ ] content = IDENT_10 . METHOD_9 ( IDENT_3 ) ; "<AssertPlaceHolder>" ; } METHOD_7 ( com . IDENT_1 . xwiki . doc . METHOD_4 , com . IDENT_1 . xwiki . IDENT_2 ) { final java . lang . String key = org . xwiki . store . IDENT_11 . internal . IDENT_12 . IDENT_13 . METHOD_10 ( doc ) ; final java . util . List < org . xwiki . store . IDENT_14 . IDENT_15 > out = new java . util . ArrayList < org . xwiki . store . IDENT_14 . IDENT_15 > ( 1 ) ; final org . xwiki . store . IDENT_16 < javax . IDENT_17 . IDENT_18 > transaction = this . provider . get ( ) ; this . IDENT_19 . METHOD_11 ( new java . util . ArrayList < java . lang . String > ( 1 ) { { add ( key ) ; } } , org . xwiki . store . IDENT_11 . internal . IDENT_12 . IDENT_13 . class . getName ( ) , out ) . METHOD_12 ( transaction ) ; try { transaction . start ( ) ; } catch ( org . xwiki . store . IDENT_20 e ) { throw new java . lang . RuntimeException ( ( STRING_7 + ( java . util . Arrays . asList ( key ) ) ) , e ) ; } return ( out . size ( ) ) == 0 ? doc : ( ( org . xwiki . store . IDENT_11 . internal . IDENT_12 . IDENT_13 ) ( out . get ( 0 ) ) ) . METHOD_13 ( doc ) ; }
org . junit . Assert . assertTrue ( new java . lang . String ( content , STRING_6 ) . equals ( IDENT_0 ) )