XpathDocumentCopier extends MessageCopier { public String getXpath() { return xpath; } XpathDocumentCopier();  XpathDocumentCopier(String xpath); @Override CloseableIterable<AdaptrisMessage> splitMessage(AdaptrisMessage msg); void setXpath(String xp); String getXpath(); KeyValuePairSet getNamespaceContext(); void setNamespaceContext(KeyValuePairSet kvps); DocumentBuilderFactoryBuilder getXmlDocumentFactoryConfig(); void setXmlDocumentFactoryConfig(DocumentBuilderFactoryBuilder xml);  }
@Test public void testConstructors() throws Exception { XpathDocumentCopier splitter = new XpathDocumentCopier(XPATH_DOCUMENT_COUNT); assertEquals(XPATH_DOCUMENT_COUNT, splitter.getXpath()); splitter = new XpathDocumentCopier(); assertNull(splitter.getXpath()); }