I want to test my routes and visited http://docs.phalconphp.com/en/latest/reference/routing.html#testing-your-routes . Unfortunately this does not work, I receive the error:
Phalcon\Mvc\Router\Exception: Unexpected value type: expected object implementing Phalcon\DiInterface, null given from line
$router->handle($testRoute); where $testRoute is e.g. "/member"
I also tried to call ->handle(); without argument, putting the $testRoute into $GET['url'] and setting
$router->setUriSource(Phalcon\Mvc\Router::URI_SOURCE_GET_URL); - didn't change anything.
Any idea how I can test my routes?