(new HtmlOutputProcessorMetaData(
HtmlOutputProcessorMetaData.PAGINATION_NONE));
textFactory.startText();
String sourceText = new String(new char[]{768, 768, 69, 114, 114, 111, 114}); // String sourceText = "?Error";
CodePointBuffer buffer = Utf16LE.getInstance().decodeString(sourceText, null);
final int[] data = buffer.getBuffer();
textFactory.createText(data, 0, buffer.getLength(), new SimpleStyleSheet(ElementDefaultStyleSheet.getDefaultStyle()), TextFieldType.INSTANCE, new InstanceID(),
ReportAttributeMap.EMPTY_MAP);
final RenderNode[] finishNodes = textFactory.finishText();
assertNotNull(finishNodes);
assertEquals(finishNodes.length, 1);