| 
<?php
 /*
 * This file is part of the Jaguar package.
 * (c) Hyyan Abo Fakher <[email protected]>
 *
 * 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\DiamondGradient;
 
 class DiamondGradientTest extends AbstractGradientTest
 {
 
 protected function getGradient()
 {
 return new DiamondGradient();
 }
 
 public function testGenerate()
 {
 $this->assertInstanceOf(
 '\Jaguar\Gradient\DiamondGradient'
 , $this->getGradient()->generate($this->getCanvas())
 );
 }
 
 }
 
 |