public function testGetServer() { $this->assertSame('/target', $this->request->getServer('REQUEST_URI'), 'Get from server fails'); $this->assertNull($this->request->getServer('nonexistent'), 'Get nonexistent key from server fails'); }