public testUnmarshallingFailsEmptyURL ( ) |
public function testUnmarshallingFailsEmptyURL()
{
$document = DOMDocumentFactory::fromString(<<<XML
<mdui:Logo height="200" width="300"></mdui:Logo>
XML
);
$this->setExpectedException('Exception', 'Missing url value for Logo');
$logo = new Logo($document->firstChild);
}