*/
@Test
public void testGetFrontendItems() throws ServletException, IOException{
final Question question = createQuestion("abcdefg", "pattern");
final TweetPoll tp = createTweetPollPublicated(Boolean.TRUE, Boolean.TRUE, new Date(), getSpringSecurityLoggedUserAccount(), question);
final Poll poll = createPoll(new Date(), question, getSpringSecurityLoggedUserAccount(), Boolean.TRUE, Boolean.TRUE);
tp.setRelevance(50L);
poll.setRelevance(30L);
getTweetPoll().saveOrUpdate(tp);
getPollDao().saveOrUpdate(poll);
initService("/api/common/frontend/stream.json", MethodJson.GET);
setParameter("period", "all");
setParameter("maxResults", "10");