function testInitFromURL()
{
$destination_path = self::copyTestImage();
$destination_path = TimberURLHelper::get_rel_path($destination_path);
$destination_url = 'http://' . $_SERVER['HTTP_HOST'] . $destination_path;
$image = new TimberImage($destination_url);
$this->assertEquals($destination_url, $image->src());
$this->assertEquals($destination_url, (string) $image);
}