PopTest\Mvc\RouterTest::testRouterConstructor PHP Méthode

testRouterConstructor() public méthode

    public function testRouterConstructor()
    {
        $this->assertInstanceOf('Pop\\Mvc\\Router', new Router(array('/' => 'Pop\\Mvc\\Controller')));
        $this->assertInstanceOf('Pop\\Mvc\\Router', Router::factory(array('/' => 'Pop\\Mvc\\Controller')));
    }