* @throws EnMeExpcetion
*/
@Category(DefaultTest.class)
public void testSaveTweetId() throws EnMeExpcetion {
Question questionSave = createQuestion("how much or How Many?", "html");
final Account usersave = createUser("dianmora", "xxxxxxx");
final UserAccount account = createUserAccount("jota", usersave);
final String tweetUrl = "http://www.encuestame.org";
final TweetPoll tweetPoll = createTweetPollPublicated(true, true,
new Date(), account, questionSave);
answersSaveTweet = new ArrayList<QuestionAnswerBean>();
answersSaveTweet.add(createAnswersBean("GBHD", "Maybe",
questionSave.getQid()));
answersSaveTweet.add(createAnswersBean("GTJU", "Yes",
questionSave.getQid()));
questionBean = createUnitQuestionBean(questionSave.getQuestion(), 1L,
usersave.getUid(), answersSaveTweet);
final TweetPollBean unitTweetPoll = createUnitTweetPollPublicated(
new Date(), true, tweetUrl, usersave.getUid(),
this.questionBean, null);
unitTweetPoll.setId(tweetPoll.getTweetPollId());
// final String s =
// this.tweetPollService.generateTweetPollText(unitTweetPoll, tweetUrl);
// final Status status = this.tweetPollService.publicTweetPoll(s,