Cascade\Tests\Config\Loader\ClassLoader\FormatterLoaderTest::testHandlers PHP Метод

testHandlers() публичный Метод

Test the extra option handlers
См. также: 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);
    }