eZ\Bundle\EzPublishCoreBundle\Tests\Imagine\Filter\Loader\SwirlFilterLoaderTest::testLoadNoOption PHP Method

testLoadNoOption() public method

public testLoadNoOption ( )
    public function testLoadNoOption()
    {
        $image = $this->getMock('\\Imagine\\Image\\ImageInterface');
        $this->filter->expects($this->never())->method('setOption');
        $this->filter->expects($this->once())->method('apply')->with($image)->will($this->returnValue($image));
        $this->assertSame($image, $this->loader->load($image));
    }