METHOD_0 ( ) { org . nuxeo . IDENT_0 . IDENT_1 . IDENT_2 IDENT_1 = IDENT_3 . METHOD_1 ( session ) ; java . io . File IDENT_4 = org . nuxeo . runtime . api . IDENT_5 . METHOD_2 ( STRING_0 , IDENT_1 . getKey ( ) ) ; try ( java . io . IDENT_6 out = new java . io . METHOD_3 ( IDENT_4 ) ) { IDENT_3 . METHOD_4 ( session , IDENT_1 . getKey ( ) , out ) ; } try ( java . io . InputStream in = new java . io . METHOD_5 ( IDENT_4 ) ) { org . nuxeo . ecm . core . api . IDENT_7 doc = IDENT_3 . METHOD_6 ( session , in ) ; "<AssertPlaceHolder>" ; } IDENT_4 . delete ( ) ; } METHOD_6 ( org . nuxeo . ecm . core . api . IDENT_8 , java . io . InputStream ) { org . nuxeo . ecm . core . api . IDENT_7 container = IDENT_9 . METHOD_7 ( session ) ; org . nuxeo . ecm . core . api . IDENT_10 IDENT_11 = new org . nuxeo . ecm . core . api . METHOD_8 ( container . METHOD_9 ( ) , org . nuxeo . IDENT_0 . IDENT_1 . IDENT_12 . IDENT_13 ) ; org . nuxeo . ecm . core . api . IDENT_7 IDENT_14 ; if ( session . exists ( IDENT_11 ) ) { IDENT_14 = session . METHOD_10 ( container . METHOD_11 ( ) , org . nuxeo . IDENT_0 . IDENT_1 . IDENT_12 . IDENT_13 ) ; session . METHOD_12 ( IDENT_14 . METHOD_11 ( ) ) ; } else { IDENT_14 = session . METHOD_13 ( container . METHOD_9 ( ) , org . nuxeo . IDENT_0 . IDENT_1 . IDENT_12 . IDENT_13 , STRING_1 ) ; IDENT_14 . METHOD_14 ( STRING_2 , STRING_3 ) ; IDENT_14 = session . METHOD_15 ( IDENT_14 ) ; session . save ( ) ; } org . nuxeo . ecm . core . io . IDENT_15 reader = new org . nuxeo . ecm . core . io . impl . plugins . METHOD_16 ( is ) ; org . nuxeo . ecm . core . io . IDENT_16 writer = new org . nuxeo . IDENT_0 . IDENT_1 . IDENT_12 . METHOD_17 ( session , IDENT_14 . METHOD_9 ( ) ) ; org . nuxeo . ecm . core . io . IDENT_17 IDENT_18 = new org . nuxeo . ecm . core . io . impl . METHOD_18 ( 10 ) ; IDENT_18 . METHOD_19 ( reader ) ; IDENT_18 . METHOD_20 ( writer ) ; IDENT_18 . run ( ) ; reader . close ( ) ; writer . close ( ) ; return session . METHOD_21 ( IDENT_14 . METHOD_11 ( ) ) . get ( 0 ) ; }
org . junit . Assert . assertNotNull ( doc )