/** * try to delete a note * */ public function testDeleteNote() { $note = $this->testAddNote(); $this->_instance->deleteNotesOfRecord($this->_objects['record']['model'], $this->_objects['record']['backend'], $this->_objects['record']['id']); $this->setExpectedException('Tinebase_Exception_NotFound'); $note = $this->_instance->getNote($note->getId()); }