/** * @expectedException InvalidArgumentException * @expectedExceptionMessage brightness, saturation and/or hue must be specified */ public function testModulateMethodThrowExceptionOnMissingParameters() { $this->url->modulate(); }