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