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

testUnmarshallingFailsMissingHeight() public method

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