setUrl() публичный Метод

URL of the attached file that can be downloaded.
public setUrl ( string $url )
$url string
 /**
  * @expectedException \InvalidArgumentException
  * @expectedExceptionMessage Url is not a fully qualified URL
  */
 public function testUrlValidationForUrl()
 {
     $obj = new FileAttachment();
     $obj->setUrl(null);
 }