public function testNoop() { $handler = new NoopSecurityHandler; $this->assertTrue($handler->isGranted(array('TOTO'))); $this->assertTrue($handler->isGranted('TOTO')); }
public function testGetBaseRole() { $this->assertEquals('', $this->handler->getBaseRole($this->getSonataAdminObject())); }