/**
  *
  */
 public function testRealMethod()
 {
     $server = $this->getServerData();
     $request = new Request(['server' => $server]);
     $this->assertEquals('GET', $request->realMethod());
     //
     $server['REQUEST_METHOD'] = 'POST';
     $request = new Request(['server' => $server, 'post' => ['REQUEST_METHOD_OVERRIDE' => 'PUT']]);
     $this->assertEquals('POST', $request->realMethod());
     //
     $server['HTTP_X_HTTP_METHOD_OVERRIDE'] = 'OPTIONS';
     $request = new Request(['server' => $server]);
     $this->assertEquals('POST', $request->realMethod());
 }