/** * Tests the load() method with an invalid XML file. */ public function testLoadInvalidXml() { $this->setExpectedException('Imagine\\Exception\\RuntimeException'); $this->imagine->load('<?xml version="1.0"?><svg><invalid>'); }