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