Cascade\Tests\Config\Loader\ClassLoader\FormatterLoaderTest::testHandlers PHP Method

testHandlers() public method

Test the extra option handlers
See also: doTestMethodCalledInHandler
public testHandlers ( string $class, string $optionName, mixed $optionValue, string $calledMethodName )
$class string Class name
$optionName string Option name
$optionValue mixed Option value
$calledMethodName string Expected called method name
    public function testHandlers($class, $optionName, $optionValue, $calledMethodName)
    {
        // Test if handler exists and return it
        $closure = $this->getHandler($class, $optionName);
        $this->doTestMethodCalledInHandler($class, $calledMethodName, $optionValue, $closure);
    }