METHOD_0 ( ) { org . nuxeo . ecm . platform . query . api . IDENT_0 IDENT_1 = org . nuxeo . runtime . api . IDENT_2 . METHOD_1 ( org . nuxeo . ecm . platform . query . api . IDENT_0 . class ) ; org . nuxeo . ecm . platform . query . api . IDENT_3 IDENT_4 = IDENT_1 . METHOD_2 ( STRING_0 ) ; java . util . HashMap < java . lang . String , java . io . IDENT_5 > props = new java . util . HashMap ( ) ; try ( org . nuxeo . ecm . core . api . IDENT_6 IDENT_7 = org . nuxeo . ecm . core . api . IDENT_8 . METHOD_3 ( session . METHOD_4 ( ) , STRING_1 ) ) { props . put ( IDENT_9 . IDENT_10 , ( ( java . io . IDENT_5 ) ( IDENT_7 ) ) ) ; org . nuxeo . elasticsearch . provider . IDENT_11 IDENT_12 = ( ( org . nuxeo . elasticsearch . provider . IDENT_11 ) ( IDENT_1 . METHOD_5 ( STRING_0 , IDENT_4 , null , null , null , 0L , props ) ) ) ; METHOD_6 ( ) ; for ( int i = 0 ; i < 10 ; i ++ ) { org . nuxeo . ecm . core . api . IDENT_13 doc = session . METHOD_7 ( "/" , ( STRING_2 + i ) , STRING_3 ) ; session . METHOD_8 ( doc ) ; } org . nuxeo . runtime . transaction . IDENT_14 . METHOD_9 ( ) ; METHOD_10 ( ) ; METHOD_6 ( ) ; java . util . List < org . nuxeo . ecm . core . api . IDENT_13 > IDENT_15 = IDENT_12 . METHOD_11 ( ) ; "<AssertPlaceHolder>" ; } } size ( ) { return METHOD_12 ( ) . size ( ) ; }
org . junit . Assert . assertEquals ( 10 , IDENT_15 . size ( ) )