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