/** * try to delete a note type * */ public function testDeleteNoteType() { $noteTypesPre = $this->_instance->getNoteTypes(); $this->_instance->deleteNoteType($this->_objects['noteType']->getId()); $noteTypesPost = $this->_instance->getNoteTypes(); $this->assertLessThan(count($noteTypesPre), count($noteTypesPost)); }