public function render(Document $reportsDocument, Config $config) { $this->output->writeln('Report XML (debug):'); $this->output->writeln($reportsDocument->dump()); }
/** * It should return a formatted string representation of the document. */ public function testDump() { $this->document->loadXml($this->getXml()); $this->assertEquals(trim($this->getXml()), trim($this->document->dump())); }