return a mocked group concode_field_sep PlaceHolder placeHolder concode_field_sep List<String> singleGroup concode_elem_sep Principal getMockedUser concode_elem_sep Principal getMockedUser concode_elem_sep DocumentModel mockUserDM concode_elem_sep UserManager mockUserManager
DocumentModel function ( String arg0 ) { DocumentModel loc0 = mock ( DocumentModel . class ) ; when ( loc0 . getId ( ) ) . thenReturn ( arg0 ) ; when ( loc0 . getContextData ( ) ) . thenReturn ( new ScopedMap ( ) ) ; return loc0 ; }