public function testFromGlobal() { $_SERVER['argv'] = array('index.php', 'juriya', ''); $request = Request::fromGlobal(); $this->assertEquals(array('juriya', ''), $request->getPath()); }