assertEquals(RichTextTokenizer.Type.NEW_LINE, tokens.next());
assertFalse(tokens.hasNext());
}
private ElementStyleView<Node, Element, Text> parse(String xmlString) {
return new RawElementStyleView(
RawDocumentProviderImpl.create(RawDocumentImpl.BUILDER).parse(
"<div>" + xmlString + "</div>"));
}