METHOD_0 ( ) { doc = session . METHOD_1 ( STRING_0 , STRING_1 , STRING_2 ) ; doc . METHOD_2 ( STRING_3 , STRING_1 ) ; doc = session . METHOD_3 ( doc ) ; session . save ( ) ; doc = session . METHOD_4 ( doc . METHOD_5 ( ) ) ; org . nuxeo . ecm . core . api . IDENT_0 IDENT_1 = METHOD_6 ( doc ) ; "<AssertPlaceHolder>" ; } METHOD_6 ( java . lang . Object ) { org . nuxeo . ecm . IDENT_2 . IDENT_3 IDENT_4 = org . nuxeo . runtime . api . IDENT_5 . METHOD_7 ( org . nuxeo . ecm . IDENT_2 . IDENT_3 . class ) ; try ( org . nuxeo . ecm . IDENT_2 . IDENT_6 ctx = new org . nuxeo . ecm . IDENT_2 . METHOD_8 ( IDENT_7 ) ) { ctx . METHOD_9 ( IDENT_8 . METHOD_10 ( ) ) ; if ( IDENT_9 instanceof java . lang . String ) { try { IDENT_4 . run ( ctx , ( ( java . lang . String ) ( IDENT_9 ) ) ) ; METHOD_11 ( ctx , ( ( java . lang . String ) ( IDENT_9 ) ) ) ; } catch ( org . nuxeo . ecm . IDENT_2 . IDENT_10 e ) { IDENT_11 . add ( IDENT_12 . IDENT_13 . IDENT_14 , ( STRING_4 + IDENT_9 ) ) ; return null ; } catch ( org . nuxeo . ecm . IDENT_2 . IDENT_15 e ) { org . nuxeo . ecm . IDENT_2 . IDENT_16 . IDENT_17 . log . error ( STRING_5 , e ) ; java . lang . Throwable IDENT_18 = org . nuxeo . ecm . platform . web . common . IDENT_19 . IDENT_20 . METHOD_12 ( e ) ; METHOD_13 ( ctx , ( ( java . lang . String ) ( IDENT_9 ) ) , IDENT_18 ) ; return null ; } } else { IDENT_4 . run ( ctx , ( ( org . nuxeo . ecm . IDENT_2 . IDENT_21 ) ( IDENT_9 ) ) ) ; METHOD_11 ( ctx , ( ( org . nuxeo . ecm . IDENT_2 . IDENT_21 ) ( IDENT_9 ) ) . getId ( ) ) ; } return ( ( java . lang . String ) ( ctx . get ( IDENT_22 . IDENT_23 ) ) ) ; } }
org . junit . Assert . assertNull ( IDENT_1 )