/** * Tests the draw() method. */ public function testDraw() { $image = new Image(new \DOMDocument(), new MetadataBag()); $this->setExpectedException('Imagine\\Exception\\RuntimeException'); $image->draw(); }