/** * try to delete a contact * */ public function testDeleteContact() { $contact = $this->_addContact(); $this->_instance->delete($contact->getId()); unset($this->objects['contact']); $this->setExpectedException('Tinebase_Exception_NotFound'); $contact = $this->_instance->get($contact->getId()); }