this._helper.addAnswer(answer1);
Answer answer2 = this._helper.createAnswer("2", messageId, "mainEditor", new Date(), "text2");
this._helper.addAnswer(answer2);
result = this.executeView("admin", "PER", messageId);
assertEquals(Action.SUCCESS, result);
AbstractMessageAction action = (AbstractMessageAction) this.getAction();
Message receivedMessage = action.getMessage();
this.compareMessages(message, receivedMessage);
List<Answer> answers = action.getAnswers();
assertEquals(2, answers.size());
for (Answer answer : answers) {
if (answer.getAnswerId().equals(answer1.getAnswerId())) {
this.compareAnswer(answer1, answer);