/** * @expectedException \InvalidArgumentException * @expectedExceptionMessage LogoImageUrl is not a fully qualified URL */ public function testUrlValidationForLogoImageUrl() { $obj = new Incentive(); $obj->setLogoImageUrl(null); }