public function testConvertRgbException() { $this->setExpectedException('Pop\\Color\\Exception'); $c = Convert::toRgb(new Rgb(112, 124, 228)); }