public function testAllow() { $request = $this->getMock('Symfony\\Component\\HttpFoundation\\Request'); $checker = new AlwaysAllowChecker(); $this->assertTrue($checker->check($request)); }
public function testAlwaysAllows() { $request = $this->prophesize('Symfony\\Component\\HttpFoundation\\Request'); $checker = new AlwaysAllowChecker(); $this->assertTrue($checker->check($request->reveal())); }