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