private void testUsingBuilder(QName wrapperElementName,
String testString,
int chunkSize) {
StringReader reader = new StringReader(testString);
XMLStreamReader xmlStreamReader
= new WrappedTextNodeStreamReader(wrapperElementName, reader, chunkSize);
OMElement element = new StAXOMBuilder(xmlStreamReader).getDocumentElement();
assertEquals(wrapperElementName, element.getQName());
assertEquals(wrapperElementName.getPrefix(), element.getQName().getPrefix());
assertEquals(testString, element.getText());
}