/**
  *
  */
 public function testHandleRequest()
 {
     $this->staticWebServer->setWebroot(__DIR__ . '/../resources/webroot');
     // Mock a response
     /* @var \PHPUnit_Framework_MockObject_MockObject|Response $response */
     $response = $this->getMockBuilder(Response::class)->setConstructorArgs([$this->getMockedConnection()])->setMethods(['writeHead', 'end'])->getMock();
     $response->expects($this->once())->method('writeHead')->with(200, ['Content-Type' => 'text/html']);
     $this->staticWebServer->handleRequest(new Request('GET', '/index.htm'), $response);
 }