SAML2\XML\mdui\LogoTest::testUnmarshallingFailsMissingWidth PHP Method

testUnmarshallingFailsMissingWidth() public method

Unmarshalling fails if width attribute not present
    public function testUnmarshallingFailsMissingWidth()
    {
        $document = DOMDocumentFactory::fromString(<<<XML
<mdui:Logo height="200">https://static.example.org/images/logos/logo300x200.png</mdui:Logo>
XML
);
        $this->setExpectedException('Exception', 'Missing width of Logo');
        $logo = new Logo($document->firstChild);
    }