PopTest\Mvc\RouterTest::testRouterConstructor PHP 메소드

testRouterConstructor() 공개 메소드

    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')));
    }