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