public function testGettersReturnNullIfKeyIsNotSetInServerData() { $requestInfo = new RequestInfo([]); $this->assertNull($requestInfo->getUri()); $this->assertNull($requestInfo->getMethod()); $this->assertNull($requestInfo->getQueryString()); $this->assertNull($requestInfo->getUserAgent()); $this->assertNull($requestInfo->getHost()); $this->assertNull($requestInfo->getReferer()); $this->assertNull($requestInfo->getAcceptedContentTypes()); $this->assertNull($requestInfo->getServerAddress()); $this->assertNull($requestInfo->getClientAddress()); $this->assertNull($requestInfo->getReferer()); $this->assertNull($requestInfo->getAuthUser()); $this->assertNull($requestInfo->getAuthPassword()); $this->assertNull($requestInfo->getRequestTimeFloat()); }