METHOD_0 ( ) { org . nuxeo . ecm . core . api . IDENT_0 source = new org . nuxeo . ecm . core . api . impl . IDENT_1 . METHOD_1 ( org . nuxeo . common . utils . IDENT_2 . METHOD_2 ( STRING_0 ) ) ; org . nuxeo . ecm . IDENT_3 . IDENT_4 ctx = new org . nuxeo . ecm . IDENT_3 . METHOD_3 ( session ) ; ctx . METHOD_4 ( source ) ; java . util . Map < java . lang . String , java . lang . Object > params = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) ; params . put ( STRING_1 , INT_0 ) ; params . put ( STRING_2 , INT_1 ) ; org . nuxeo . ecm . IDENT_3 . IDENT_5 IDENT_6 = new org . nuxeo . ecm . IDENT_3 . METHOD_5 ( STRING_3 ) ; org . nuxeo . ecm . IDENT_3 . IDENT_7 IDENT_8 = new org . nuxeo . ecm . IDENT_3 . METHOD_6 ( org . nuxeo . ecm . IDENT_3 . core . operations . services . IDENT_9 . IDENT_10 , params ) ; IDENT_6 . add ( IDENT_8 ) ; org . nuxeo . ecm . core . api . IDENT_0 result = ( ( org . nuxeo . ecm . core . api . IDENT_0 ) ( service . run ( ctx , IDENT_6 ) ) ) ; "<AssertPlaceHolder>" ; } run ( org . nuxeo . ecm . IDENT_3 . METHOD_3 , java . net . URL ) { java . lang . String key = script . METHOD_7 ( ) ; org . nuxeo . ecm . IDENT_3 . core . IDENT_11 . IDENT_12 . IDENT_13 cs = org . nuxeo . ecm . IDENT_3 . core . IDENT_11 . IDENT_12 . cache . get ( key ) ; if ( cs != null ) { cs . METHOD_8 ( ctx ) ; return ; } java . lang . String path = script . getPath ( ) ; int p = path . METHOD_9 ( STRING_4 ) ; if ( p == ( - 1 ) ) { throw new org . nuxeo . ecm . IDENT_3 . METHOD_10 ( ( STRING_5 + script ) ) ; } java . lang . String ext = path . substring ( ( p + 1 ) ) . toLowerCase ( ) ; if ( STRING_6 . equals ( ext ) ) { java . io . InputStream in = script . METHOD_11 ( ) ; try { java . io . IDENT_14 c = org . IDENT_15 . IDENT_16 . METHOD_12 ( org . nuxeo . common . utils . IDENT_2 . read ( in ) ) ; cs = new org . nuxeo . ecm . IDENT_3 . core . IDENT_11 . IDENT_12 . METHOD_13 ( c ) ; } finally { in . close ( ) ; } } else if ( STRING_7 . equals ( ext ) ) { } else { throw new org . nuxeo . ecm . IDENT_3 . METHOD_10 ( ( ( STRING_8 + script ) + STRING_9 ) ) ; } org . nuxeo . ecm . IDENT_3 . core . IDENT_11 . IDENT_12 . cache . put ( key , cs ) ; cs . METHOD_8 ( ctx ) ; }
org . junit . Assert . assertNotNull ( result )