public function testMarshalHostAndPortReturnsEmptyValuesIfNoHostHeaderAndNoServerName()
{
$request = new ServerRequest();
$request = $request->withUri(new Uri());
$accumulator = (object) ['host' => '', 'port' => null];
ServerRequestFactory::marshalHostAndPort($accumulator, [], $request);
$this->assertEquals('', $accumulator->host);
$this->assertNull($accumulator->port);
}