SAML2\XML\mdui\DiscoHintsTest::testMarshallingEmpty PHP Méthode

testMarshallingEmpty() public méthode

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