/** * It should create a root element. */ public function testCreateRoot() { $this->document->createRoot('hello'); $this->assertContains('<hello/>', $this->document->saveXml()); }
public function render(Document $reportsDocument, array $config) { $this->output->writeln('Report XML (debug):'); $this->output->writeln($reportsDocument->saveXml()); }