use of org.alfresco.repo.security.authority.AuthorityDAOImpl in project alfresco-remote-api by Alfresco.
the class GroupsTest method setup.
@Before
public void setup() throws Exception {
super.setup();
authorityService = (AuthorityService) applicationContext.getBean("AuthorityService");
AuthorityDAOImpl authorityDAOImpl = (AuthorityDAOImpl) applicationContext.getBean("authorityDAO");
authorityDAOImpl.setSearchService(mockSearchService);
when(mockSearchServiceQueryResultSet.iterator()).thenReturn(iterator);
}
Aggregations