public function testMarshallingEmpty() { $discoHints = new DiscoHints(); $document = DOMDocumentFactory::fromString('<root />'); $xml = $discoHints->toXML($document->firstChild); $this->assertNull($xml); }