@Test public final void assertThatParseSuccessfullyParsesConfigWithoutAddedDataStructures() throws Exception { final ComposableXmlConfigParser objectUnderTest = new ComposableXmlConfigParser( loadTestXmlAsStream(CONFIG_FILE)); final Document document = objectUnderTest.parse(); assertNotNull(document); }
Document parse() throws Exception { final DocumentBuilder builder = DocumentBuilderFactory.newInstance() .newDocumentBuilder(); final Document result = builder.parse(this.xmlConfigInputStream); final XPathFactory xpathFactory = XPathFactory.newInstance(); insertDistributedDataStructuresConfigurations(builder, xpathFactory, result.getDocumentElement()); return result; }
ComposableXmlConfigParser { Document parse() throws Exception { final DocumentBuilder builder = DocumentBuilderFactory.newInstance() .newDocumentBuilder(); final Document result = builder.parse(this.xmlConfigInputStream); final XPathFactory xpathFactory = XPathFactory.newInstance(); insertDistributedDataStructuresConfigurations(builder, xpathFactory, result.getDocumentElement()); return result; } }
ComposableXmlConfigParser { Document parse() throws Exception { final DocumentBuilder builder = DocumentBuilderFactory.newInstance() .newDocumentBuilder(); final Document result = builder.parse(this.xmlConfigInputStream); final XPathFactory xpathFactory = XPathFactory.newInstance(); insertDistributedDataStructuresConfigurations(builder, xpathFactory, result.getDocumentElement()); return result; } ComposableXmlConfigParser(final InputStream xmlConfigInputStream); }
ComposableXmlConfigParser { Document parse() throws Exception { final DocumentBuilder builder = DocumentBuilderFactory.newInstance() .newDocumentBuilder(); final Document result = builder.parse(this.xmlConfigInputStream); final XPathFactory xpathFactory = XPathFactory.newInstance(); insertDistributedDataStructuresConfigurations(builder, xpathFactory, result.getDocumentElement()); return result; } ComposableXmlConfigParser(final InputStream xmlConfigInputStream);  }
ComposableXmlConfigParser { Document parse() throws Exception { final DocumentBuilder builder = DocumentBuilderFactory.newInstance() .newDocumentBuilder(); final Document result = builder.parse(this.xmlConfigInputStream); final XPathFactory xpathFactory = XPathFactory.newInstance(); insertDistributedDataStructuresConfigurations(builder, xpathFactory, result.getDocumentElement()); return result; } ComposableXmlConfigParser(final InputStream xmlConfigInputStream);   }