protected $request;
/**
* {@inheritdoc}
*/
protected function setUp(): void
{ parent::
setUp();
$this->policy =
new ChainRequestPolicy();
$this->request =
new Request();
} /**
* Asserts that check() returns NULL if the chain is empty.
*
* @covers ::check
*/
public function testEmptyChain() { $result =
$this->policy->
check($this->request
);
$this->
assertNull($result);
}