/** * @covers Image\Canvas::imagecolorallocate */ public function testImagecolorallocate() { $this->object->createImageTrueColor(100, 100); $this->assertEquals(14540253, $this->object->imagecolorallocate('dddddd')); }