Cascade\Tests\Config\Loader\ClassLoader\HandlerLoaderTest::testHandlerLoaderWithInvalidHandler PHP Method

testHandlerLoaderWithInvalidHandler() public method

    public function testHandlerLoaderWithInvalidHandler()
    {
        $dummyClosure = function () {
            // Empty function
        };
        $options = array('handler' => 'test_handler');
        $formatters = array();
        $processors = array();
        $handlers = array('test_handlerXYZ' => $dummyClosure);
        $loader = new HandlerLoader($options, $formatters, $processors, $handlers);
    }