METHOD_0 ( ) { org . nuxeo . ecm . core . api . IDENT_0 doc = session . METHOD_1 ( "/" , STRING_0 , STRING_1 ) ; java . util . Map < java . lang . String , java . io . IDENT_1 > IDENT_2 = new java . util . HashMap ( ) ; IDENT_2 . put ( "name" , STRING_2 ) ; IDENT_2 . put ( STRING_3 , java . lang . Long . valueOf ( 1 ) ) ; IDENT_2 . put ( STRING_3 0 , new java . lang . String [ ] { STRING_4 , STRING_5 } ) ; doc . METHOD_2 ( STRING_6 , ( ( java . io . IDENT_1 ) ( java . util . Collections . singletonList ( IDENT_2 ) ) ) ) ; doc = session . METHOD_3 ( doc ) ; session . save ( ) ; java . lang . String IDENT_3 = doc . getId ( ) ; java . lang . String query = STRING_7 ; org . nuxeo . ecm . core . api . IDENT_4 res = session . query ( query ) ; "<AssertPlaceHolder>" ; } METHOD_4 ( org . nuxeo . ecm . core . api . IDENT_4 ) { java . util . List < java . lang . String > IDENT_5 = new java . util . ArrayList ( list . size ( ) ) ; for ( org . nuxeo . ecm . core . api . IDENT_0 doc : list ) { IDENT_5 . add ( doc . getId ( ) ) ; } return IDENT_5 ; }
org . junit . Assert . assertEquals ( java . util . Collections . singletonList ( IDENT_3 ) , METHOD_4 ( res ) )