/**
  * test custom field acl
  *
  * - add custom field
  * - remove grants
  * - cf should no longer be returned
  */
 public function testCustomFieldAcl()
 {
     $createdCustomField = $this->_instance->addCustomField(self::getCustomField());
     $this->_instance->setGrants($createdCustomField);
     $application = Tinebase_Application::getInstance()->getApplicationByName('Tinebase');
     $appCustomFields = $this->_instance->getCustomFieldsForApplication($application->getId());
     $this->assertEquals(0, count($appCustomFields));
 }