/**
  * test delete grant
  */
 public function testDeleteGrant()
 {
     $filterAsSeenBySclever = $this->testReadGrant();
     try {
         $deletedIds = $this->_instance->delete($filterAsSeenBySclever->getId());
         if (count($deletedIds) > 0) {
             $this->fail('sclever should not be able to delete filter');
         } else {
             $this->fail('delete filter did not work: ' . print_r($filterAsSeenBySclever->toArray(), true));
         }
     } catch (Tinebase_Exception_AccessDenied $tead) {
         $this->assertEquals('No Permission.', $tead->getMessage());
     }
 }