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