// Poll
final Poll poll = createPoll(new Date(), question, "JCPM", getSpringSecurityLoggedUserAccount(), Boolean.TRUE, Boolean.TRUE);
// Survey
//final Survey survey = createDefaultSurvey(getSpringSecurityLoggedUserAccount().getAccount(), "Technology survey", new Date());
final GenericStatsBean genericTweetPollStats = getFrontEndService()
.retrieveGenericStats(tpoll.getTweetPollId().toString(),
TypeSearchResult.TWEETPOLL, this.request);
Assert.assertNotNull(genericTweetPollStats);
final GenericStatsBean genericPollStats = getFrontEndService()
.retrieveGenericStats(poll.getPollId().toString(),
TypeSearchResult.POLL, this.request);
Assert.assertNotNull(genericPollStats);
final HashTag hashtag = createHashTag("continents", 350L);
System.out.println(hashtag.getHashTag());
Assert.assertNotNull(hashtag);
Assert.assertNotNull(hashtag.getHashTagId());
Assert.assertNotNull(hashtag.getHashTag());
@SuppressWarnings("unused")
final GenericStatsBean genericHashTagStats = getFrontEndService().retrieveGenericStats(
hashtag.getHashTag(), TypeSearchResult.HASHTAG, this.request);
//final GenericStatsBean genericSurveyStats = getFrontEndService().retrieveGenericStats(survey.getSid(), TypeSearchResult.SURVEY);
//Assert.assertNotNull(genericSurveyStats);