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