getUrl() public method

URL of the attached file that can be downloaded.
public getUrl ( ) : string
return string
 /**
  * @depends testSerializationDeserialization
  * @param FileAttachment $obj
  */
 public function testGetters($obj)
 {
     $this->assertEquals($obj->getName(), "TestSample");
     $this->assertEquals($obj->getUrl(), "http://www.google.com");
 }