<?php
/*
* This file is part of the Jaguar package.
* (c) Hyyan Abo Fakher <tiribthea4hyyan@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Jaguar\Tests\Gradient;
use Jaguar\Gradient\RectangleGradient;
class RectangleGradientTest extends AbstractGradientTest
{
protected function getGradient()
{
return new RectangleGradient();
}
public function testGenerate()
{
$this->assertInstanceOf(
'\Jaguar\Gradient\RectangleGradient'
, $this->getGradient()->generate($this->getCanvas())
);
}
}
|