METHOD_0 ( ) { org . nuxeo . ecm . IDENT_0 . IDENT_1 ctx = new org . nuxeo . ecm . IDENT_0 . METHOD_1 ( session ) ; ctx . METHOD_2 ( IDENT_2 ) ; java . io . File file = org . nuxeo . runtime . api . IDENT_3 . METHOD_3 ( STRING_0 1 , STRING_1 ) ; try { org . nuxeo . ecm . IDENT_0 . core . operations . IDENT_4 . IDENT_5 . IDENT_6 = true ; org . apache . commons . io . IDENT_7 . METHOD_4 ( file , STRING_0 0 , java . nio . IDENT_8 . IDENT_9 . UTF_8 ) ; org . nuxeo . ecm . IDENT_0 . IDENT_10 IDENT_11 = new org . nuxeo . ecm . IDENT_0 . METHOD_5 ( STRING_2 ) ; IDENT_11 . add ( IDENT_12 . IDENT_13 ) ; IDENT_11 . add ( IDENT_14 . IDENT_13 ) . set ( STRING_3 , STRING_4 ) . set ( "name" , STRING_5 ) . set ( STRING_0 , STRING_6 ) ; IDENT_11 . add ( IDENT_15 . IDENT_13 ) . set ( "name" , STRING_7 ) ; IDENT_11 . add ( IDENT_5 . IDENT_13 ) . set ( STRING_5 , file . METHOD_6 ( ) . METHOD_7 ( ) ) ; IDENT_11 . add ( IDENT_16 . IDENT_13 ) . set ( STRING_8 , org . nuxeo . ecm . IDENT_0 . core . IDENT_17 . IDENT_18 . METHOD_8 ( STRING_7 ) ) ; IDENT_11 . add ( IDENT_19 . IDENT_13 ) . set ( "name" , STRING_7 ) ; IDENT_11 . add ( IDENT_20 . IDENT_13 ) ; org . nuxeo . ecm . core . api . IDENT_21 out = ( ( org . nuxeo . ecm . core . api . IDENT_21 ) ( service . run ( ctx , IDENT_11 ) ) ) ; "<AssertPlaceHolder>" ; } finally { org . nuxeo . ecm . IDENT_0 . core . operations . IDENT_4 . IDENT_5 . IDENT_6 = false ; file . delete ( ) ; } } getString ( ) { return value . toString ( ) ; }
org . junit . Assert . assertEquals ( STRING_0 0 , out . getString ( ) )