Passed
Push — master ( 389830...ffe1a3 )
by Albin
46s
created

ImageTest::testAvailableOptions()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
3
namespace Knp\Snappy;
4
5
class ImageTest extends \PHPUnit_Framework_TestCase
6
{
7
    public function testCreateInstance()
8
    {
9
        $testObject = new \Knp\Snappy\Image();
10
        $this->assertInstanceOf('\Knp\Snappy\Image', $testObject);
11
    }
12
13
    public function testAvailableOptions()
14
    {
15
        $testObject = new \Knp\Snappy\Image();
16
        $testObject->setOption('use-xserver', true);
17
        $testObject->setOption('enable-smart-width', true);
18
    }
19
}
20