use of org.ext.uberfire.social.activities.service.SocialUserRepositoryAPI in project kie-wb-common by kiegroup.
the class UserHomePageSidePresenterTest method setup.
@Before
public void setup() {
socialUserServiceAPICaller = new CallerMock<SocialUserServiceAPI>(socialUserServiceAPI);
socialUserRepositoryAPICaller = new CallerMock<SocialUserRepositoryAPI>(socialUserRepositoryAPI);
presenter.socialUserService = socialUserServiceAPICaller;
presenter.socialUserRepositoryAPI = socialUserRepositoryAPICaller;
presenter.selectedEvent = selectEvent;
presenter.users = new HashMap<String, SocialUser>();
presenter.loggedUser = new UserImpl("dora");
dora = new SocialUser("dora");
bento = new SocialUser("bento");
presenter.users.put("dora", dora);
presenter.users.put("bento", bento);
}
Aggregations