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