/** * @expectedException Horde_Kolab_Storage_Exception */ public function testMissingDataId() { $cache = new Horde_Kolab_Storage_Cache_Data($this->getMockCache()); $cache->getDataId(); }