DMS\Filter\Filters\Loader\FilterLoaderTest::testGetFilterForRule PHP Method

testGetFilterForRule() public method

public testGetFilterForRule ( $rule, $return, $expectException )
$rule
$return
$expectException
    public function testGetFilterForRule($rule, $return, $expectException)
    {
        if ($expectException) {
            $this->setExpectedException('\\UnexpectedValueException');
        }
        $this->assertEquals($return, $this->loader->getFilterForRule($rule));
    }