public function testLabToHex() { $hex = Convert::toHex(new Lab(100, 100, 100)); $this->assertInstanceOf('Pop\\Color\\Space\\Hex', $hex); $this->assertEquals('#c39231', (string) $hex); }