METHOD_0 ( ) { org . junit . IDENT_0 . METHOD_1 ( STRING_0 , IDENT_1 . METHOD_2 ( ) . METHOD_3 ( ) ) ; org . nuxeo . runtime . api . IDENT_2 . METHOD_4 ( ( ) -> { try ( org . nuxeo . ecm . directory . IDENT_3 IDENT_4 = IDENT_5 . METHOD_5 ( ) ) { for ( int i = 0 ; i < 10 ; i ++ ) { Map < java . lang . String , java . lang . Object > user = new HashMap < java . lang . String , java . lang . Object > ( ) ; user . put ( STRING_1 , java . lang . String . format ( STRING_2 , i ) ) ; user . put ( STRING_3 , STRING_4 ) ; user . put ( STRING_5 , STRING_6 ) ; IDENT_4 . METHOD_6 ( user ) ; } } } ) ; org . nuxeo . ecm . core . api . IDENT_6 admin = session . METHOD_7 ( ) ; java . util . Map < java . lang . String , java . lang . String > messages = METHOD_8 ( ) ; org . nuxeo . ecm . platform . IDENT_7 . service . IDENT_8 context = new org . nuxeo . ecm . platform . IDENT_7 . service . METHOD_9 ( STRING_7 , admin ) . METHOD_10 ( Locale . IDENT_9 ) . METHOD_11 ( session ) . METHOD_12 ( messages ) ; int count = 0 ; java . util . List < org . nuxeo . ecm . platform . IDENT_7 . service . IDENT_10 > IDENT_11 = IDENT_12 . METHOD_13 ( STRING_8 , context ) ; for ( org . nuxeo . ecm . platform . IDENT_7 . service . IDENT_10 IDENT_13 : IDENT_11 ) { if ( STRING_9 . equals ( IDENT_13 . getType ( ) ) ) { count ++ ; } } "<AssertPlaceHolder>" ; } getType ( ) { return type ; }
org . junit . Assert . assertEquals ( 5 , count )