METHOD_0 ( ) { java . lang . String IDENT_0 = "test" ; try ( org . nuxeo . ecm . core . api . IDENT_1 session = org . nuxeo . ecm . core . api . IDENT_2 . METHOD_1 ( IDENT_0 ) ) { org . nuxeo . ecm . core . api . IDENT_3 doc = session . METHOD_2 ( STRING_0 1 , STRING_1 , STRING_2 ) ; doc . setProperty ( STRING_0 2 , STRING_3 , STRING_0 0 ) ; org . nuxeo . ecm . core . api . impl . IDENT_4 . IDENT_5 IDENT_4 = new org . nuxeo . ecm . core . api . impl . IDENT_4 . METHOD_3 ( STRING_4 ) ; java . lang . String IDENT_6 = STRING_5 ; IDENT_4 . METHOD_4 ( IDENT_6 ) ; java . util . Map < java . lang . String , java . lang . Object > IDENT_7 = new java . util . HashMap ( ) ; IDENT_7 . put ( STRING_0 , IDENT_4 ) ; java . util . List < java . util . Map < java . lang . String , java . lang . Object > > IDENT_8 = new java . util . ArrayList ( ) ; IDENT_8 . add ( IDENT_7 ) ; doc . setProperty ( STRING_6 , STRING_6 , IDENT_8 ) ; doc = session . METHOD_5 ( doc ) ; session . save ( ) ; java . lang . String path = ( ( ( ( STRING_7 + IDENT_0 ) + STRING_0 1 ) + ( doc . getId ( ) ) ) + STRING_8 ) + IDENT_6 ; org . nuxeo . ecm . core . api . IDENT_9 IDENT_10 = IDENT_11 . METHOD_6 ( path ) ; "<AssertPlaceHolder>" ; } } METHOD_6 ( java . lang . String ) { org . apache . commons . lang3 . tuple . IDENT_12 < java . lang . String , org . nuxeo . ecm . core . io . IDENT_13 . IDENT_14 . IDENT_15 > IDENT_16 = METHOD_7 ( IDENT_17 ) ; if ( IDENT_16 == null ) { return null ; } java . lang . String IDENT_18 = IDENT_16 . METHOD_8 ( ) ; try { org . nuxeo . ecm . core . io . IDENT_13 . IDENT_19 IDENT_20 = new org . nuxeo . ecm . core . io . IDENT_13 . METHOD_9 ( IDENT_18 ) ; try ( org . nuxeo . ecm . core . api . IDENT_1 session = org . nuxeo . ecm . core . api . IDENT_2 . METHOD_1 ( IDENT_20 . repository ) ) { org . nuxeo . ecm . core . api . IDENT_21 IDENT_22 = new org . nuxeo . ecm . core . api . METHOD_10 ( IDENT_20 . IDENT_23 ) ; if ( ! ( session . exists ( IDENT_22 ) ) ) { return null ; } org . nuxeo . ecm . core . api . IDENT_3 doc = session . METHOD_11 ( IDENT_22 ) ; org . nuxeo . ecm . core . api . IDENT_9 IDENT_4 = METHOD_12 ( doc , IDENT_20 . IDENT_24 ) ; if ( ! ( METHOD_13 ( doc , IDENT_20 . IDENT_24 , IDENT_4 , null , null ) ) ) { return null ; } return IDENT_4 ; } } catch ( java . lang . IllegalArgumentException e ) { return null ; } }
org . junit . Assert . assertEquals ( IDENT_4 , IDENT_10 )