</BUG>
parentMessageId = MBMessageConstants.DEFAULT_PARENT_MESSAGE_ID;
}
else {
messageId = _counter.get();
<BUG>parentMessageId = rootMessageId;
</BUG>
}
<BUG>String subject = "Test Message " + currentIndex;
String body =
"This is a test message " + currentIndex + StringPool.PERIOD;</BUG>
return newMBMessage(

return mbMailingList;
}
public MBMessage newMBMessage(MBThread mbThread, int currentIndex) {
long messageId = 0;
long parentMessageId = 0;
if (currentIndex == 1) {
messageId = mbThread.getRootMessageId();
parentMessageId = MBMessageConstants.DEFAULT_PARENT_MESSAGE_ID;
}
else {
messageId = _counter.get();
parentMessageId = mbThread.getRootMessageId();
}
return newMBMessage(
