for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Knp\Snappy;
class ImageTest extends \PHPUnit_Framework_TestCase
{
public function testCreateInstance()
$testObject = new \Knp\Snappy\Image();
$this->assertInstanceOf('\Knp\Snappy\Image', $testObject);
}
public function testAvailableOptions()
$testObject->setOption('use-xserver', true);
$testObject->setOption('enable-smart-width', true);