// doesn't make sense to extent the API for that), right?
}
public void test_NodeRO_getNote_getPlain(){
map = c.newMap();
final Node rootNode = map.getRoot();
final String plainText = " xx\nx ";
rootNode.setNote(plainText);
assertEquals("", HtmlUtils.plainToHTML(plainText), rootNode.getNoteText());
assertEquals("", HtmlUtils.plainToHTML(plainText), rootNode.getNote().getText());
assertEquals("", plainText, rootNode.getNote().getPlain());
final String xml = "<x> yyy </x>";
rootNode.setNote(xml);
assertEquals("", HtmlUtils.plainToHTML(xml), rootNode.getNoteText());
// in Groovy also assert HtmlUtils.plainToHTML(" xxx ") == root.note would be OK
assertEquals("", HtmlUtils.plainToHTML(xml), rootNode.getNote().getText());
assertEquals("", xml, rootNode.getNote().getPlain());
rootNode.setNote("<html> <em>zzzzz</em> </hmtl>");
assertEquals("", "zzzzz", rootNode.getNote().getPlain());
}