/** * Tears down the fixture * This method is called after a test is executed. * * @access protected */ protected function tearDown() { $this->_instance->setGeoDataForContacts($this->_geodata); $this->_instance->useNotes(true); if (isset($this->objects['contact']) || array_key_exists('contact', $this->objects)) { $this->_instance->delete($this->objects['contact']); } }
/** * the constructor */ private function __construct() { $this->_controller = Addressbook_Controller_Contact::getInstance(); $this->_controller->sendNotifications(FALSE); $this->_controller->setGeoDataForContacts(FALSE); }