/**
  * (non-PHPdoc)
  * @see ActiveSync/ActiveSync_TestCase::setUp()
  */
 protected function setUp()
 {
     parent::setUp();
     Calendar_Controller_Event::getInstance()->doContainerACLChecks(true);
     $this->_testXMLInput = $this->_loadFile('event_with_attendee.xml');
 }
 /**
  * (non-PHPdoc)
  * @see ActiveSync/ActiveSync_TestCase::setUp()
  */
 protected function setUp()
 {
     parent::setUp();
     Calendar_Controller_Event::getInstance()->doContainerACLChecks(true);
     // replace email to make current user organizer and attendee
     $testConfig = Zend_Registry::get('testConfig');
     $email = $testConfig->email ? $testConfig->email : Tinebase_Core::getUser()->accountEmailAddress;
     $this->_testXMLInput = str_replace(array('*****@*****.**', '*****@*****.**'), $email, $this->_testXMLInput);
 }
 /**
  * Tears down the fixture
  * This method is called after a test is executed.
  *
  * @access protected
  */
 protected function tearDown()
 {
     parent::tearDown();
     Addressbook_Controller_Contact::getInstance()->setGeoDataForContacts($this->_setGeoData);
 }