### Question:
DelegatingTransformer implements Transformer { @Override public void startDocument() throws SAXException { delegate.startDocument(); }  void setDelegate(final Transformer delegate); Transformer getDelegate(); @Override void init(final ProcessingContext context, final ProcessingComponentConfiguration componentConfiguration); @Override void setContentHandler(final ContentHandler contentHandler); @Override void dispose(); @Override void setDocumentLocator(final Locator locator); @Override void startDocument(); @Override void endDocument(); @Override void startPrefixMapping(final String prefix, final String uri); @Override void endPrefixMapping(final String prefix); @Override void startElement(final String uri, final String localName, final String qName, final Attributes attrs); @Override void endElement(final String uri, final String localName, final String qName); @Override void characters(final char[] ch, final int start, final int length); @Override void ignorableWhitespace(final char[] ch, final int start, final int length); @Override void processingInstruction(final String target, final String data); @Override void skippedEntity(final String name);  }### Answer:
@Test public void startDocument() throws SAXException { delegating.startDocument(); verify(transformer).startDocument(); }