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