METHOD_0 ( ) { org . nuxeo . ecm . IDENT_0 . IDENT_1 ctx = new org . nuxeo . ecm . IDENT_0 . METHOD_1 ( session ) ; java . util . Map < java . lang . String , java . lang . Object > params = new java . util . HashMap < java . lang . String , java . lang . Object > ( ) ; params . put ( STRING_0 , STRING_1 ) ; params . put ( STRING_2 , 10 ) ; params . put ( STRING_3 , 10 ) ; params . put ( STRING_4 , 0 ) ; java . util . List < org . nuxeo . ecm . platform . IDENT_2 . api . IDENT_3 > IDENT_4 = ( ( java . util . List < org . nuxeo . ecm . platform . IDENT_2 . api . IDENT_3 > ) ( service . run ( ctx , IDENT_5 . IDENT_6 , params ) ) ) ; long IDENT_7 = IDENT_4 . get ( ( ( IDENT_4 . size ( ) ) - 1 ) ) . getId ( ) ; org . nuxeo . ecm . IDENT_0 . core . util . Properties IDENT_8 = new org . nuxeo . ecm . IDENT_0 . core . util . Properties ( ) ; IDENT_8 . put ( STRING_5 , ( "" + IDENT_7 ) ) ; params . put ( STRING_6 , IDENT_8 ) ; IDENT_4 = ( ( java . util . List < org . nuxeo . ecm . platform . IDENT_2 . api . IDENT_3 > ) ( service . run ( ctx , IDENT_5 . IDENT_6 , params ) ) ) ; "<AssertPlaceHolder>" ; } get ( java . lang . String ) { try { return IDENT_9 . get ( key ) ; } catch ( java . util . IDENT_10 e ) { return null ; } }
org . junit . Assert . assertEquals ( ( IDENT_7 + 1 ) , IDENT_4 . get ( 0 ) . getId ( ) )