public function testNoop()
    {
        $handler = new NoopSecurityHandler;

        $this->assertTrue($handler->isGranted(array('TOTO')));
        $this->assertTrue($handler->isGranted('TOTO'));
    }
 public function testIsGranted()
 {
     $this->assertTrue($this->handler->isGranted($this->getSonataAdminObject(), array('TOTO')));
     $this->assertTrue($this->handler->isGranted($this->getSonataAdminObject(), 'TOTO'));
 }