SAML2\XML\mdui\DiscoHintsTest::testMarshallingEmpty PHP Метод

testMarshallingEmpty() публичный Метод

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