public void test_adapted_methods() throws Exception {
final Attributes attrs = new AttributesImpl();
final char[] characters = new char[0];
final char[] whitespace = new char[0];
DefaultHandler adapter = new ContentHandlerAdapter(handler);
adapter.setDocumentLocator(locator);
adapter.startDocument();
adapter.startPrefixMapping("prefix", "uri");
adapter.endPrefixMapping("prefix");
adapter.startElement("uri", "localName", "qName", attrs);
adapter.endElement("uri", "localName", "qName");
adapter.characters(characters, 1, 2);
adapter.ignorableWhitespace(whitespace, 3, 4);
adapter.processingInstruction("target", "data");
adapter.skippedEntity("name");
adapter.endDocument();
verify(handler).setDocumentLocator(locator);
verify(handler).startDocument();
verify(handler).startPrefixMapping("prefix", "uri");
verify(handler).endPrefixMapping("prefix");