parseAndAssertNodeCount(8);
// The first node should be a HTMLRemarkNode
assertTrue(
"First node should be a HTMLRemarkNode",
node[0] instanceof RemarkNode);
RemarkNode remarkNode = (RemarkNode) node[0];
assertEquals(
"Plain Text of the remarkNode #1",
" saved from url=(0022)http://internet.e-mail ",
remarkNode.toPlainTextString());
// The sixth node should be a HTMLRemarkNode
assertTrue(
"Sixth node should be a HTMLRemarkNode",
node[5] instanceof RemarkNode);
remarkNode = (RemarkNode) node[5];
assertEquals(
"Plain Text of the remarkNode #6",
"\r\n Whats gonna happen now ?\r\n",
remarkNode.getText());
}