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

testHandlerLoaderWithInvalidHandlers() public method

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