METHOD_0 ( ) { org . nuxeo . ecm . core . api . IDENT_0 doc = session . METHOD_1 ( "/" , STRING_0 , STRING_1 ) ; doc = session . METHOD_2 ( doc ) ; org . nuxeo . ecm . core . api . security . IDENT_1 IDENT_2 = doc . METHOD_3 ( ) ; org . nuxeo . ecm . core . api . security . IDENT_3 IDENT_4 = IDENT_2 . METHOD_4 ( ) ; IDENT_4 . add ( new org . nuxeo . ecm . core . api . security . METHOD_5 ( STRING_2 , org . nuxeo . ecm . core . api . security . IDENT_5 . IDENT_6 , true ) ) ; IDENT_2 . METHOD_6 ( IDENT_4 ) ; doc . METHOD_7 ( IDENT_2 , true ) ; session . save ( ) ; org . nuxeo . ecm . platform . IDENT_7 . IDENT_8 . IDENT_9 . IDENT_10 = null ; try ( org . nuxeo . ecm . core . api . IDENT_11 s = org . nuxeo . ecm . core . api . IDENT_12 . METHOD_8 ( session . METHOD_9 ( ) , STRING_2 ) ) { org . nuxeo . ecm . core . api . IDENT_0 d = s . METHOD_10 ( doc . METHOD_11 ( ) ) ; org . nuxeo . ecm . core . event . impl . IDENT_13 ctx = new org . nuxeo . ecm . core . event . impl . METHOD_12 ( s , s . METHOD_13 ( ) , d ) ; IDENT_14 . METHOD_14 ( ctx . METHOD_15 ( STRING_3 ) ) ; } IDENT_15 . METHOD_16 ( ) ; IDENT_14 . METHOD_17 ( ) ; "<AssertPlaceHolder>" ; } METHOD_17 ( ) { if ( org . nuxeo . runtime . transaction . IDENT_16 . METHOD_18 ( ) ) { org . nuxeo . runtime . transaction . IDENT_16 . METHOD_19 ( ) ; org . nuxeo . runtime . transaction . IDENT_16 . METHOD_20 ( ) ; } IDENT_14 . METHOD_17 ( ) ; }
org . junit . Assert . assertEquals ( STRING_2 , org . nuxeo . ecm . platform . IDENT_7 . IDENT_8 . IDENT_9 . IDENT_10 )