throws Exception {
SAXRecorderFactory factory = SAXRecorderFactory.getDefaultInstance();
SAXRecorderConfiguration configuration =
factory.createSAXRecorderConfiguration();
SAXRecorder recorder = new SAXRecorderImpl(configuration);
char[] characters = "some text".toCharArray();
recorder.getContentHandler().characters(
characters, 0, characters.length);
SAXRecording recording = recorder.getRecording();
assertFalse(recording.isComplex());
}