SAML2\XML\mdui\DiscoHintsTest::testMarshallingEmpty PHP Method

testMarshallingEmpty() public method

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