eZ\Bundle\EzPublishCoreBundle\Tests\Imagine\Filter\AbstractFilterTest::testGetSetOptionNoDefaultValue PHP Method

testGetSetOptionNoDefaultValue() public method

public testGetSetOptionNoDefaultValue ( $optionName, $value )
    public function testGetSetOptionNoDefaultValue($optionName, $value)
    {
        $this->assertFalse($this->filter->hasOption($optionName));
        $this->assertNull($this->filter->getOption($optionName));
        $this->filter->setOption($optionName, $value);
        $this->assertTrue($this->filter->hasOption($optionName));
        $this->assertSame($value, $this->filter->getOption($optionName));
    }