final Question myFirstQuestion = createQuestion(
"What is your favorite kind of movie?", secondary.getAccount());
final Question mySecondQuestion = createQuestion(
"What is your favorite kind of song?", secondary.getAccount());
final TweetPollFolder tpFolder = createTweetPollFolder("My Tp1 folder", this.secondary);
// FIRST TP
final TweetPoll tweetPoll = createPublishedTweetPoll(
this.secondary.getAccount(), myFirstQuestion,
new Date());
tweetPoll.setTweetPollFolder(tpFolder);
getTweetPoll().saveOrUpdate(tweetPoll);
getTweetPoll().delete(tweetPoll);
final TweetPoll tp = getTweetPoll().getTweetPollById(
tweetPoll.getTweetPollId());
final Question quest = getQuestionDaoImp().retrieveQuestionById(
myFirstQuestion.getQid());
final Question quest2 = getQuestionDaoImp().retrieveQuestionById(
mySecondQuestion.getQid());
final List<TweetPoll> tpollsbyFolder = getTweetPoll()
.retrieveTweetPollByFolder(this.secondary.getUid(),
tpFolder.getId());
final TweetPollFolder folders = getTweetPoll().getTweetPollFolderById(
tpFolder.getId());
}