public function testGetPath() { $_SERVER['PATH_INFO'] = '/foo'; $request = new Request(); $this->assertSame('/foo', $request->getPath()); }