protected $time;
/**
* {@inheritdoc}
*/
protected function setUp(): void
{ parent::
setUp();
$this->requestStack =
$this->
getMockBuilder('Symfony\Component\HttpFoundation\RequestStack'
)->
getMock();
$this->time =
new Time($this->requestStack
);
} /**
* Tests the getRequestTime method.
*
* @covers ::getRequestTime
*/
public function testGetRequestTime() { $expected = 12345678;
$request = Request::
createFromGlobals();