/**
  * Get the cloudinary URL.
  *
  * @param string $id Image ID.
  * @param array $options options for the image.
  * @return string
  */
 public function getUrl($id, $options = array())
 {
     return $this->cloudinary->cloudinary_url($id, $options);
 }
 public function testGetUrl()
 {
     $cloudinary = new Cloudinary(array('cloud_name' => 'test'));
     $ext = new CloudinaryExtension($cloudinary);
     $this->assertEquals($cloudinary->cloudinary_url('test'), $ext->getUrl('test'));
 }